TXTextControl.TextControl.Selection Property

Gets or sets the current selection in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type Selection. A selection can be used to assign character and paragraph formatting attributes to a piece of text.

Syntax

[C#]
public Selection Selection { get; set; }
[Visual Basic]
Public Property Selection() As Selection

Limitations

Runtime only.

See Also