Enum DrawTextOptions
- Namespace
- nanoFramework.UI
- Assembly
- nanoFramework.Graphics.dll
Draw Text options.
public enum DrawTextOptions : uint
Fields
AlignmentCenter = 2Specifies that text is center-aligned as it flows around a bitmap.
AlignmentLeft = 0Specifies that text is left-aligned as it flows around a bitmap.
AlignmentMask = 34Specifies that you can use a mask to get or set text alignment around a bitmap.
AlignmentRight = 32Specifies that text is right-aligned as it flows around a bitmap.
Ellipsis = 8Specifies that the bitmap text is trimmed to the nearest character, and an ellipsis is inserted at the end of each trimmed line.
IgnoreHeight = 16Specifies that if the bitmap text is larger than the space provided, the text is drawn in its full size, rather than being scaled down to fit the value in the Height property.
None = 0Specifies that there are no format rules.
TrimmingCharacterEllipsis = 64Not yet documented.
TrimmingMask = 72Not yet documented.
TrimmingNone = 0Not yet documented.
TrimmingWordEllipsis = 8Not yet documented.
TruncateAtBottom = 4Specifies that if the bitmap text is larger than the space provided, the text is truncated at the bottom.
WordWrap = 1Specifies whether a line of bitmap text automatically wraps words to the beginning of the next line when the line reaches its maximum width.