Click or drag to resize
EmfPlusStringAlignment Enumeration
The StringAlignment enumeration defines ways to align strings with respect to a text layout rectangle.

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Consts
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
public enum EmfPlusStringAlignment
  Member nameValueDescription
StringAlignmentNear0 Specifies 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.
StringAlignmentCenter1 Specifies that alignment is centered between the origin and extent of the layout rectangle.
StringAlignmentFar2 Specifies that alignment is to the right side of the layout rectangle.
See Also