The Size Mode or Picture Size Mode property determines how the displayed image is scaled.
Property Type: Fixed
Default Value: Centre
Hierarchical Reference: ControlName.SizeMode
The available values for this property are:
Each value will adjust the size of the image within the available width and height of the control (see examples below).
The default value of the property can be changed by:
Picture Size Mode Property Value | Result | Notes |
---|---|---|
Normal | Displays to the exact dimensions of the image. Area adjustment is taken from the top left of the image. | |
StretchImage | Displays the image stretched (aspect ratio is not maintained) to fit within the limits of the control | |
Centre | Displays to the exact dimensions of the image. Area adjustment is taken from the centre of the image. | |
Zoom | Displays 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).