Feedback

  • Contents
 

Image

An image control is a visual element that does not get data from the user. It displays an image file.

To set properties, display the control's shortcut menu and click Edit Properties.

Image Control Properties

Property

Description

Color

BG: Background color. In the list, select a color.

Values

Fixed URI: A variable that contains the location of the image file to display.

Options

Scale down to fit, if necessary: If selected, shrinks the original image to fit within the control.

Scale up to fit, if necessary: If selected, expands the original image to fill up the control.

Stretch to fill, if necessary: If selected, stretches the original image vertically or horizontally to fill the control. For example, in a control whose width exceeded its height, an image might be stretched horizontally to touch the sides of the control. In a tall, thin control, an image might be stretched vertically.

Binding(s)

 Control Only: The control only displays its state. It does not send its data anywhere else or get data from anywhere else. The user can change the state of the control, but the change doesn't cause anything else to happen.

 Data to Control: The control gets its value from the data item with which it is bound by the URI Data property. It displays that data.

URI Data: Click the link to bind a URI address value to the control. Best practice is to select a URI-type value, but you can also select a string-type value.

You can use the image control with the following file types:

  • BMP

  • GIF

  • ICO

  • JPG

  • PNG

  • TIF

  • WDP