Image Properties

 

An image is a graphic that can be displayed on a form.

Appearance

 

Source

The file path that maps to the graphic file. For example, C:\Art\Logos\smalllogo.gif.

Only graphics in the following file formats are permitted:

  • .bmp
  • .tiff
  • .gif
  • .png
  • .jpeg

Stetch

Controls the display of the loaded image. When set to False, the image displays at its true dimensions within the image control box. If you expand or shrink the size of the image control box, the image inside does not change. If set to True (default), when you expand or shrink the image control box, the image expands or shrinks also.

Behavior

 

Visible

If set to True, the image is visible on the form. If False, the image is not visible.

Control

 

ControlID

Used to identify the control. For example, the first image on the form will be assigned the control ID Image1 while the next image is assigned control ID Image2. You can change the control ID as needed. The ID can contain numerals or letters, but it must begin with a letter.

Layout

 

Position

Controls the relative position (in pixels) of the image on the form. The X value determines left to right, the Y value determines top to bottom position. Click the Position property and type values or expand the row to view the X and Y properties and make your changes.

Size

Controls the width and height of the image (in pixels). Click the Size property and type values or expand the row to view the Width and Height properties and make your changes.