Alignments
Alignment constants are defined for horizontal or vertical directions. By using a bitwise OR of the values, the alignment options can be combined.
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 |
Type
integer
Example
alignment = StyleConstant.H_RIGHT | StyleConstant.V_CENTER;
See Also
Alignment Property, in Report Scripting, for more information on setting report alignments.
Alignment Property, in Dashboard Scripting, for more information on setting Viewsheet alignments.
| << JS.13 StyleConstant Object | © 1996-2013 InetSoft Technology Corporation (v11.4) | Chart Styles >> |