Pageflex Document Action API
SelectedRange Property
Namespaces > Pageflex.Scripting > Application > SelectedRange
Gets or sets the text Range selected in an editing session.
Syntax
RemarksSpecifies a Range object representing the range of text selected in the current editing session.
A value of nullNothingnullptr means no range is currently selected.
Exceptions| Exception | Condition |
|---|---|
| IllegalRangeSelectionException | The specified range is not a valid selection in the current editing session. |
| WrongApplicationContextException | The current Context is not an editing session. |
| ArgumentNullException | The value supplied for value was nullNothingnullptr. |
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)