Enum EmfPlusStringAlignment

EmfPlusStringAlignment enumeration

The StringAlignment enumeration defines ways to align strings with respect to a text layout rectangle.

public enum EmfPlusStringAlignment

Values

NameValueDescription
StringAlignmentNear0Specifies that string alignment is toward the origin of the layout rectangle. This can be used to align characters along a line or to align text within a rectangle. For a right-to-left layout rectangle, the origin SHOULD be at the upper right.
StringAlignmentCenter1Specifies that alignment is centered between the origin and extent of the layout rectangle.
StringAlignmentFar2Specifies that alignment is to the right side of the layout rectangle.

See Also