This documentation is archived and is not being maintained.
StringAlignment Enumeration
.NET Framework 1.1
Specifies the alignment of a text string relative to its layout rectangle.
[Visual Basic] <Serializable> Public Enum StringAlignment [C#] [Serializable] public enum StringAlignment [C++] [Serializable] __value public enum StringAlignment [JScript] public Serializable enum StringAlignment
Members
| Member name | Description |
|---|---|
| Center | Specifies that text is aligned in the center of the layout rectangle. |
| Far | Specifies 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. |
| Near | Specifies 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. |
Requirements
Namespace: System.Drawing
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Drawing (in System.Drawing.dll)
See Also
Show: