AUTOSCALE Property
PLBCMP GUI Only
The AUTOSCALE property defines how a picture should be scaled to fit within the rectangle coordinates of the PICT object. The property uses the following format:
AUTOSCALE[={value}]
Note the following:
AUTOSCALE may be used in CREATE, SETPROP, or GETPROP statements of PICT objects.
This property is overridden by the RESIZE property.
{value} is a decimal number, a Numeric
Variable, an Expression,
or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
Picture scaling is ... |
|
1 |
$SCALEBEST |
best fit. (default) |
|
2 |
$SCALEHORZ |
horizontal. |
|
3 |
$SCALENONE |
disabled. (same as RESIZE=$OFF) |
|
4 |
$SCALEVERT |
vertical. |
|
5 |
$SCALEFULL |
to fill the rectangle defined by the TOP, BOTTOM, HEIGHT, and WIDTH properties of the PICT object. In this case, the SCALE property is not used to change the picture scaling. |
|
6 |
$SCALEMANUAL |
disabled for the picture. In this mode, the end-user application must set the SCALE property to cause the picture to be scaled. |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |