Selection

This class represents the current selection of a document.

Properties

Range through getRange

Methods

setRange

copy

cut

insertHyperLink

paste

Access

To get the current selection of a document, use the Selection property in the Document class.

See examples

Example: Selection