![]() ![]() ![]() The ErrorImage property is used to display an image if an error occurs while loading an image on a window form. It is used to set the background image of a window form by setting or getting value in the picture box. It is used to set the background color for the PictureBox in the window form. There are following properties of the VB.NET PictureBox control. Step 2: Once the PictureBox is added to the form, we can set various properties of the image by clicking on the PictureBox control. Step 1: We have to find the PictureBox control from the toolbox and then drag and drop the PictureBox control onto the window form, as shown below. Let's create a PictureBox control in the VB.NET Windows form using the following steps. The PictureBox control has an image property that allows the user to set the image at runtime or design time. PictureBox control is used to display the images on Windows Form.
0 Comments
Leave a Reply. |