Vertical Scaling (Vscale)

This property determines how the image is scaled vertically; valid only for Image data types. Default value is 100 (percent).

Vscale=Percentage | Auto

Value

Description

Percentage

Positive integer from 1 through 10000.

Auto

Scale the image to fit the width of the widget. Instead of preserving the aspect ratio, it stretches the image to fit the widget.

Usage

Dynamic?

Yes

Supported in Grid?

Yes for Picture

Dependencies:

None

Description

If the Preserve Aspect property is True, the larger of Horizontal Scale and Vertical Scale properties are ignored.

Command Button

For command buttons, this property only works if the Representation property is set to Uniface.

Setting in ProcScript

$fieldproperties(PICTURE)="vscale=auto"

Related Topics