Inserting picture objects

You use the Picture object to insert an image into your visual project.

About this task

The image that you insert into a Picture object can have one of the following formats:
  • Graphics Interchange format (.gif)
  • Joint Photographic Experts Group (.jpeg)
  • Portable Network Graphics (.png)

To insert a picture object into your visual project:

Procedure

  1. In the editor window, select the visual report page or visual dashboard scene to which you want to add the object. If the page or scene is not open in the editor, then double-click the page or scene in the Project Explorer.
  2. From the Palette view, select the Picture object and click in the editor window. The picture object is drawn based on default properties. You can also select the Picture object from the Palette view, click in the editor window, drag the cursor to draw the size that you want, and release the mouse button. The picture object is drawn.
  3. You must specify where the image that will be displayed in the picture object is located. You can specify that the image will be found in a query result column, in a local or network file, or embedded in the visual project. From the Properties view, click the ImageSource property cell. Click the ellipsis (...) that appears in the cell. The Picture Source window opens. Select one of the following options
    • Column to specify that the image will reside in a query result column.

      This option is available when a query is available to the visual project for selection. From the drop-down list of available queries, select the one that will return the result data. From the second drop-down list, select the column that will contain the image.

      The Queries folder in the Project Explorer view lists all the queries that are available to the visual project

    • Linked to specify that the image will reside in a local or network file. Select Linked and specify the path to the image file.
    • Embedded to specify that the image is embedded in the visual project. In order for this option to be available you must have images available to the visual project for selection. All images that are available are listed in the Images folder that is under the Globals folder in the Project Explorer. To specify that the image is embedded, select Embedded. Select the image from the drop-down list of available images.
  4. From the Properties view, you can modify any of the additional properties to alter the appearance or behavior of the picture object on the visual report page or visual dashboard scene. There are several ways to specify property values. You can select values that are listed in the Properties view, type values directly in Properties view, use the Expression Designer, or use the Variables toolbar.
  5. For visual dashboards, you can define an event action for the picture object. This means that when a user performs a certain action on the object such as a mouse click, an event such as a jump to a scene will occur.

Results