Using a stock image

You must associate the stock image in the Images folder with the Picture object in your visual project.

About this task

You can associate a stock image to the Picture object in one of the following ways:
  • From the Project Explorer view, click a stock image that you have added to the Images folder and drag the stock image to your visual project canvas. A Picture object is created and the ImageSource property is displayed in the Properties view and is automatically updated with the name of the stock image.
  • From the Palette view, select the Picture object and insert it in your visual project. In the Properties view, click the ImageSource property cell. Type the name of the stock image using the stockImage() function as follows: =stockImage("My_Image") where My_Image is the name of a stock image that you have added to the Images folder for the project.

The picture in your visual project displays the specified stock image. You can then modify additional object properties such as image scaling.