ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / StringAlignment Enumeration

In This Topic
    StringAlignment Enumeration
    In This Topic
    Specifies the alignment of a text string relative to its layout rectangle.
    Syntax
    'Declaration
     
    
    Public Enum StringAlignment 
       Inherits System.Enum
    public enum StringAlignment : System.Enum 
    Members
    MemberDescription
    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.
    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.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Framework.Drawing.Gdi.StringAlignment

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also