Range property

This property returns the selected range of the document.

Defined in

Selection

Data type

TextRange

Syntax

public TextRange getRange()

See examples

Example: Range property