Horizontal Scaling (Hscale)

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

Hscale=Percentage | Auto

Value

Description

Percentage

Positive or negative integer from 1 through 10000. Negative values enable you to mirror images.

Auto

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

Description

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

Command Button

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

Setting in ProcScript

Set the scale to 80 percent:

$fieldproperties(FLD1) = "hscale=80"

Related Topics