Skip to main content

StringFormatFlags Enum

NuGet: GHIElectronics.TinyCLR.Drawing
Assembly: GHIElectronics.TinyCLR.Drawing
Namespace: System.Drawing

Bit flags that control text layout and rendering behavior.

public enum StringFormatFlags

Fields

NameValueDescription
DirectionRightToLeft0x00000001Text is laid out from right to left.
DirectionVertical0x00000002Text is laid out vertically.
FitBlackBox0x00000004Parts of characters are allowed to overhang the layout rectangle.
DisplayFormatControl0x00000020Control characters are shown with representative glyphs.
NoFontFallback0x00000400Fallback to alternate fonts for missing characters is disabled.
MeasureTrailingSpaces0x00000800Trailing spaces are included when measuring text.
NoWrap0x00001000Text wrapping between lines is disabled.
LineLimit0x00002000Only entire lines are laid out within the rectangle.
NoClip0x00004000Glyph overhangs and unwrapped text are not clipped.