ContentRanges Property

Pageflex Document Action API

Pageflex Document Action API ContentRanges Property
Namespaces > Pageflex.Scripting > Range > ContentRanges
Gets a series of Range elements spanning this Range, where each returned Range is within a single TextElement.
Syntax
C# Visual Basic Managed C++
public Range[] ContentRanges { get; }
Public ReadOnly Property ContentRanges As Range()
public:
array<Range^>^ ContentRanges {
	array<Range^>^ get ();
}
Remarks
Returns an array of Range objects. The start of the first returned Range is the same as the start of this Range. The end of the last returned Range is the same as the end of this Range. Each returned Range lies within a single TextElement (or floating Shape). Each TextElement represents a contiguous sequence of characters with the same style.

If modifying the returned Range objects, iterate in reverse order.

Exceptions
Exception Condition
StaleScriptingObjectException This object's associated internal object no longer exists.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)