UNITS Property
PLBCMP GUI Only
The UNITS property specifies the scale used for WINDOW property settings. The property uses the following format:
UNITS={value}
Note the following:
UNITS may be used in CREATE, SETPROP, or GETPROP statements of a WINDOW object.
This property only takes effect when the GRIDALIGN property is set to $ON.
This property affects the following properties: TOP, LEFT, WIDTH, HEIGHT, GRIDSIZEH, GRIDSIZEV, X1, X2, Y1, and Y2. Event results are not affected.
{value} may be one of the following numbers or keywords as defined in PLBEQU.INC:
|
Value |
Type |
Positions by |
|
1 |
$HIENGLISH |
.001 of an inch |
|
2 |
$HIMETRIC |
.01 of a millimeter |
|
3 |
$LOENGLISH |
.01 of an inch |
|
4 |
$LOMETRIC |
.1 of a millimeter |
|
5 |
$PIXELS |
pixel (default) |
|
6 |
$TWIPS |
.05 of a point [1/1440 of an inch] |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |