StringAlignment enumeration

StringAlignment enumeration

Specifies the alignment of a text string relative to its layout rectangle.

The StringAlignment type exposes the following members:

Fields

FieldDescription
NEARSpecifies the text be aligned near the layout. In a left-to-right layout, the near position is left. In a right-to-left layout, the near position is right.
CENTERSpecifies that text is aligned in the center of the layout rectangle.
FARSpecifies that text is aligned far from the origin position of the layout rectangle. In a left-to-right layout, the far position is right. In a right-to-left layout, the far position is left.

See Also