Home Search

DriveWorks Pro 23
Thumb Image Size Mode

Send Feedback

Thumb Image Size Mode

Controls how the image is sized within the Slider's Thumb.

This property is available on the Slider control.

Property Information

Property Type: Fixed

Hierarchical Reference:

  • ControlName.ThumbImageSizeMode

Default Value: Centre

The available values for this property are:

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

Thumb Height and Width

For the different size modes to take affect the Thumb Height and/ or Thumb Width properties must have a size applied (not set to Auto).

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

Normal

Displays the image to its exact dimensions.

Area adjustment is taken from the top left of the image.

Image aspect ratio is maintained.

StretchImage

Displays the image stretched to fit within the limits of the thumb.

Image aspect ratio is not maintained.

Centre

Displays the image to its exact dimensions.

Area adjustment is taken from the centre of the image.

Image aspect ratio is maintained.

Zoom

Displays the image to fit within the limits of the thumb.

Area adjustment is taken from the centre of the image.

Image aspect ratio is maintained.

Could display whitespace based on the limits of the thumb and the aspect ratio of the image.

Cover

Displays the image to cover the limits of the thumb.

Area adjustment is taken from the centre of the image.

Image aspect ratio is maintained.

Image could become cropped in the width or height based on the limits of the thumb and the aspect ratio of the image.

Form Design

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