Sets a value indicating whether the text in the panel is left-aligned, right-aligned, or centered.
public void setAlignment( int value )
value
An integer that represents the alignment of the text in the panel. Possible values are constants defined in the HorizontalAlignment class. The default value is HorizontalAlignment.LEFT.
WFCInvalidEnumException thrown if the specified value is not a valid HorizontalAlignment constant.
See Also getAlignment