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

In This Topic
    TextAlignment Enumeration
    In This Topic
    Specifies the text alignment by using a mask of the values in the following list. Only one flag can be chosen from those that affect horizontal and vertical alignment.
    Syntax
    'Declaration
     
    
    Public Enum TextAlignment 
       Inherits System.Enum
    public enum TextAlignment : System.Enum 
    Members
    MemberDescription
    BaselineThe reference point will be on the base line of the text.
    BottomThe reference point will be on the bottom edge of the bounding rectangle.
    CenterThe reference point will be aligned horizontally with the center of the bounding rectangle.
    LeftThe reference point will be on the left edge of the bounding rectangle.
    RightThe reference point will be on the right edge of the bounding rectangle.
    TopThe reference point will be on the top edge of the bounding rectangle.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Framework.Drawing.Gdi.DeviceContexts.TextAlignment

    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