'Declaration
Public Enum StringFormatFlags Inherits System.Enum
public enum StringFormatFlags : System.Enum
'Declaration
Public Enum StringFormatFlags Inherits System.Enum
public enum StringFormatFlags : System.Enum
Member | 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. |
Nothing | No any flags. |
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. |
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. |
System.Object
System.ValueType
System.Enum
C1.Framework.Drawing.Gdi.StringFormatFlags
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