Spread WPF 18
GrapeCity.Drawing Namespace / DrawingTextFormat Enumeration


In This Topic
    DrawingTextFormat Enumeration
    In This Topic
    Specifies the format of a text string relative to its layout rectangle.
    Syntax
    'Declaration
     
    <FlagsAttribute()>
    Public Enum DrawingTextFormat 
       Inherits System.Enum
    'Usage
     
    Dim instance As DrawingTextFormat
    [Flags()]
    public enum DrawingTextFormat : System.Enum 
    Members
    MemberDescription
    EllipsisSpecifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line.
    HorizontalCenterSpecifies that text is horizontal-aligned in the center of the layout rectangle.
    HorizontalDistributedSpecifies that text should wrap and be aligned to form straight edges on the left and right, including the last line.
    HorizontalJustifySpecifies that text should wrap and be aligned to form straight edges on the left and right, except for the last line which is left justified.
    HorizontalRightText will be draw with right alignment.
    NoneSpecifies to clear DrawingTextFormat.
    VerticalBottomText will be aligned from bottom to top in the layout rectangle.
    VerticalCenterSpecifies that text is vertical-aligned in the center of the layout rectangle.
    VerticalDistributedSpecifies that rotated text should wrap and be aligned to form straight edges on the top and bottom, including the last line.
    VerticalJustifySpecifies that rotated text should wrap and be aligned to form straight edges on the top and bottom, except for the last line which is left justified.
    VerticalTextDisplays the text in vertical format.
    WrapText wrapping between lines when formatting within a rectangle is enable.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Drawing.DrawingTextFormat

    See Also