ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / StringFormatFlags Enumeration

In This Topic
    StringFormatFlags Enumeration
    In This Topic
    Specifies the display and layout information for text strings.
    Public Enum StringFormatFlags 
       Inherits System.Enum
    public enum StringFormatFlags : System.Enum 
    ExpandTabsExpands tab characters. The default number of characters per tab is eight.
    LineLimitOnly entire lines are laid out in the formatting rectangle. By default layout continues until the end of the text, or until no more lines are visible as a result of clipping, whichever comes first. Note that the default settings allow the last line to be partially obscured by a formatting rectangle that is not a whole multiple of the line height. To ensure that only whole lines are seen, specify this value and be careful to provide a formatting rectangle at least as tall as the height of one line.
    MultiLineShows string on one or more lines.
    NoClipOverhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed to show. By default all text and glyph parts reaching outside the formatting rectangle are clipped.
    NothingNo any flags.
    NoWrapDisables wrapping of text between lines when formatting within a rectangle. This flag is implied when a point is passed instead of a rectangle, or when the specified rectangle has a zero line length.
    RightToLeftSpecifies that text is right to left.
    VerticalSpecifies that text is vertical.
    WordWrapBreaks words. Lines are automatically broken between words if a word would extend past the edge of the pecified rectangle. A carriage return-line feed sequence also breaks the line.
    Inheritance Hierarchy


    See Also