Language Constants - Text Alignment¶
The following constants can be used in a function that specifies how to align a value in its rectangle.
return drHorzAlignmentLeft
| Constant | Explanation |
|---|---|
drHorzAligmentLeft |
Align the text to the left of the field's rectangle |
drHorzAlignmentRight |
Align the text to the right of the field's rectangle |
drHorzAlignmentCentered |
Center the text horizontally in the field's rectangle |
drHorzAlignmentJustified |
Justify the text horizontally in the field's rectangle |
drVertAlignmentTop |
Align the text to the top of the field's rectangle |
drVertAlignmentCenter |
Center the text vertically in the field's rectangle |
drVertAlignmentBottom |
Align the text to the bottom of the field's rectangle |