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:

  1. AUTOSCALE may be used in CREATE, SETPROP, or GETPROP statements of PICT objects.

  2. This property is overridden by the RESIZE property.

  3. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
     

  4. 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

 



PL/B Language Reference AUTOREDRAW Property AUTOSCROLL Property