Home Search

DriveWorks Pro 22
Picture Size Mode

Send Feedback

Picture Size Mode

The Size Mode or Picture Size Mode property determines how the displayed image is scaled.

Property Type: Fixed

Default Value: Centre

Hierarchical Reference: ControlName.PictureSizeMode

The available values for this property are:

  • Normal
  • StretchImage
  • Centre
  • Zoom

Each value will adjust the size of the image within the available width and height of the control (see examples below).

To Change the Default Value

The default value of the property can be changed by:

  1. Click in the property for the control to be changed
  2. Click the drop down button at the end of the value field
  3. Select the value from the drop down list

Examples

Picture Size Mode Property ValueResultNotes
NormalDisplays to the exact dimensions of the image. Area adjustment is taken from the top left of the image.
StretchImageDisplays the image stretched (aspect ratio is not maintained) to fit within the limits of the control
CentreDisplays to the exact dimensions of the image. Area adjustment is taken from the centre of the image.
ZoomDisplays the image stretched (aspect ratio is maintained) to fit within the limits of the control

Form Design

A type of control property where the value can only be set in the Form Designer (not by a rule).