Images In Reports

You can add images in almost any report you create whether it's your corporate logo, or icons in tables to help users find data quickly. You can even add images of equipment or problems. Images are easy to add to reports once you know how to manage them.

Adding An Image

Image Component

You can select the Report Designer's Image Component from the component palette to add an image to a report. The image shown in the Report Designer is a place holder, which will be replaced with the image associated with the image's Key when the report is generated.

Drag and Drop

You can drag an image from your computer and drop it onto a report to create an image component. The image you drop will be a place holder, and if no key is associated with the image component, the dropped image will be used. If you associate a key with the component, the original place holder image will still be seen in the design panel, but will be replaced with the image associated with the key when the report is generated. If the key does not link to a valid image, no image will be shown.

Image Keys

In the image component's Property Inspector panel, you can drag a parameter or a datasource column into the key field. The data key can resolve to a byte array, such as an image retrieved from a database, or a URI that points to an image on the web or an image file on a disk. Remember that reports are generated on the Gateway so the image source needs to be accessible from the Gateway computer.

Keychain Expressions can not be used in the data key, but the key can be a parameter or datasource that dynamically constructs a path to an image. This allows you to easily change images in reports without changing the image component.

Image Formats

Images can be in the following file formats:

  • .gif

  • .tiff

  • .jpeg

  • .png

  • .bmp

  • .pdf