CENTER Property
PLBCMP GUI Only
The CENTER property aligns the text in the middle of the object horizontally. The property uses the following format:
CENTER[={value}]
Note the following:
CENTER may be used in CREATE statements.
The CENTER property is obsolescent and replaced by the ALIGNMENT property. The ALIGNMENT property may be used in SETPROP and GETPROP operations.
If the CENTER property is disabled, the text is left justified.
If the CENTER property is specified without an assignment, the action is the same as if CENTER=1 were given.
{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 |
Text centering is ... |
|
0 |
$OFF |
disabled. (default) |
|
1 |
$ON |
enabled. |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |