SelectedRange Property

Pageflex Document Action API

Pageflex Document Action API SelectedRange Property
Namespaces > Pageflex.Scripting > Application > SelectedRange
Gets or sets the text Range selected in an editing session.
Syntax
C# Visual Basic Managed C++
public static Range SelectedRange { get; set; }
Public Shared Property SelectedRange As Range
public:
static Range^ SelectedRange {
	Range^ get ();
	void set (Range^ value);
}
Remarks
Specifies 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)