Collapse Method (toStart)

Pageflex Document Action API

Pageflex Document Action API Collapse Method (toStart)
Namespaces > Pageflex.Scripting > Range > Collapse(Boolean)
Makes the range's endpoints identical, so the range is empty.
Syntax
C# Visual Basic Managed C++
public void Collapse (
	bool toStart
)
Public Sub Collapse ( _
	toStart As Boolean _
)
public:
void Collapse (
	bool toStart
)
Parameters
toStart (Boolean)
If trueTruetrue, collapses the range to its start. If falseFalsefalse , collapses the range to its end.
Exceptions
Exception Condition
StaleScriptingObjectException This object's associated internal object no longer exists.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)