[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.StringFormatFlags

StringFormatFlags Enum

Specifies the display and layout information for text strings.

Namespace: C1.Framework.Drawing.Gdi
Assembly: C1.Win.Input.8.dll
Syntax
[Flags]
public enum StringFormatFlags

Fields

Name Description
ExpandTabs

Expands tab characters. The default number of characters per tab is eight.

LineLimit

Only 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.

MultiLine

Shows string on one or more lines.

NoClip

Overhanging 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.

NoWrap

Disables 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.

Nothing

No any flags.

RightToLeft

Specifies that text is right to left.

Vertical

Specifies that text is vertical.

WordWrap

Breaks 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.