In This Topic
GdPicture14 Namespace / TextAlignment Enumeration

TextAlignment Enumeration

In This Topic
Defines how text is aligned.
Syntax
'Declaration
 
<ComVisibleAttribute(True)>
Public Enum TextAlignment 
   Inherits System.Enum
[ComVisible(true)]
public enum TextAlignment : System.Enum 
public enum TextAlignment = class(System.Enum)
ComVisibleAttribute()
public enum TextAlignment extends System.Enum
[ComVisible(true)]
__value public enum TextAlignment : public System.Enum 
[ComVisible(true)]
public enum class TextAlignment : public System.Enum 
Members
MemberValueDescription
TextAlignmentCenter1Text is aligned in the center of the layout rectangle.
TextAlignmentFar2Text 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.
TextAlignmentNear0The text is 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
         GdPicture14.TextAlignment

See Also