Skip to main content
A newer version of this page is available. .

TextOptions Properties

Contains options that specify how text is rendered.
Name Description
DefaultOptions static Gets an object that specifies the default text options.
DefaultOptionsCenteredWithEllipsis static Gets an object whose settings force text to be centered.
DefaultOptionsMultiLine static Gets an object whose settings allow text to wrap.
DefaultOptionsNoWrap static Gets an object whose settings prevent text from wrapping.
DefaultOptionsNoWrapEx static Gets an object whose settings force text to be centered and prevent it from wrapping.
DefaultStringFormat static Gets an object that contains the default formatting settings.
HAlignment Gets or sets the horizontal alignment of text.
HotkeyPrefix Gets or sets the hotkey prefix for the text.
RightToLeft Gets or sets whether the text is directed from right to left.
Trimming Gets or sets text trimming mode.
VAlignment Gets or sets the vertical alignment of text.
WordWrap Gets or sets text wrapping mode.
See Also