Share via


TextSetOptions Enum

Definition

Specifies options for setting the text in a text range.

This enumeration supports a bitwise combination of its member values.

public enum class TextSetOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class TextSetOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum TextSetOptions
var value = Windows.UI.Text.TextSetOptions.none
Public Enum TextSetOptions
Inheritance
TextSetOptions
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

No text setting option is specified.

UnicodeBidi 1

Use the Unicode bidirectional algorithm.

8

Don't include text as part of a hyperlink.

Unhide 16

Don't insert as hidden text.

CheckTextLimit 32

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

FormatRtf 8192

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

ApplyRtfDocumentDefaults 16384

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).

Applies to

See also