Windows Dev Center

TextSetOptions enumeration

Specifies options for setting the text in a text range.

Syntax


var value = Windows.UI.Text.TextSetOptions.none;

Members

The TextSetOptions enumeration has these members.

MemberValueDescription
None | none0

No text setting option is specified.

UnicodeBidi | unicodeBidi1

Use the Unicode bidirectional algorithm.

Unlink | unlink8

Don't include text as part of a hyperlink.

Unhide | unhide16

Don't insert as hidden text.

CheckTextLimit | checkTextLimit32

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

FormatRtf | formatRtf8192

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

ApplyRtfDocumentDefaults | applyRtfDocumentDefaults16384

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

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.winmd

Attributes

[Flags()]
[Version(0x06020000)]

See also

ITextDocument.LoadFromStream
ITextDocument.SetText
ITextRange.SetText
ITextRange.SetTextViaStream

 

 

Show:
© 2015 Microsoft