Alignment
| alignment for information about using alignment constants. |
Alignment constants are defined for horizontal or vertical directions. You can combine the alignment options by using a bitwise OR of the values (see example below).
Type
- Style Constant object
-
One of the (integer) constants below:
| Alignment | Description |
|---|---|
H_LEFT |
Left alignment |
H_CENTER |
Horizontal centered alignment |
H_RIGHT |
Right alignment |
V_TOP |
Top alignment |
V_CENTER |
Vertical centered alignment |
V_BOTTOM |
Bottom alignment |
V_BASELINE |
Character baseline alignment |
FILL |
Fill in whole space |
LEFT |
Synonym for H_LEFT |
CENTER |
Synonym for H_CENTER |
RIGHT |
Synonym for H_RIGHT |