Text​Set​Options Text​Set​Options Text​Set​Options Enum


Specifies options for setting the text in a text range.

public enum TextSetOptionspublic enum TextSetOptionsPublic Enum TextSetOptions
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


ApplyRtfDocumentDefaults ApplyRtfDocumentDefaults ApplyRtfDocumentDefaults

Apply the Rich Text Format (RTF) default settings for the document. Rich Text Format (RTF) often contains document default properties. These properties are typically ignored when inserting Rich Text Format (RTF) (as distinguished from opening an Rich Text Format (RTF) file).

CheckTextLimit CheckTextLimit CheckTextLimit

Obey the current text limit instead of increasing the limit to fit.

FormatRtf FormatRtf FormatRtf

Treat input text as Rich Text Format (RTF) (the Rich Text Format (RTF) text will be validated).

None None None

No text setting option is specified.

Unhide Unhide Unhide

Don't insert as hidden text.

UnicodeBidi UnicodeBidi UnicodeBidi

Use the Unicode bidirectional algorithm.

Don't include text as part of a hyperlink.