Table of Contents

Enum DrawTextOptions

Namespace
nanoFramework.UI
Assembly
nanoFramework.Graphics.dll

Draw Text options.

public enum DrawTextOptions : uint

Fields

AlignmentCenter = 2

Specifies that text is center-aligned as it flows around a bitmap.

AlignmentLeft = 0

Specifies that text is left-aligned as it flows around a bitmap.

AlignmentMask = 34

Specifies that you can use a mask to get or set text alignment around a bitmap.

AlignmentRight = 32

Specifies that text is right-aligned as it flows around a bitmap.

Ellipsis = 8

Specifies that the bitmap text is trimmed to the nearest character, and an ellipsis is inserted at the end of each trimmed line.

IgnoreHeight = 16

Specifies 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 = 0

Specifies that there are no format rules.

TrimmingCharacterEllipsis = 64

Not yet documented.

TrimmingMask = 72

Not yet documented.

TrimmingNone = 0

Not yet documented.

TrimmingWordEllipsis = 8

Not yet documented.

TruncateAtBottom = 4

Specifies that if the bitmap text is larger than the space provided, the text is truncated at the bottom.

WordWrap = 1

Specifies whether a line of bitmap text automatically wraps words to the beginning of the next line when the line reaches its maximum width.