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

    See Also