Contains all editable regions in the main text or another part of a document. It is a collection of objects of the type EditableRegion. A collection object can be obtained with the TextControl.EditableRegions, the HeaderFooter.EditableRegions or the TextFrame.EditableRegions property. The EditableRegionCollection class implements the IEnumerable and the ICollection interfaces. When the EditMode property of a Text Control has been set to ReadAndSelect, editable regions can still be edited, either by everyone or depending on the UserName property by a certain user.

Syntax

public sealed class EditableRegionCollection
Public NotInheritable Class EditableRegionCollection

Introduced: X15.

Enumerations

Enumeration Description
AddResult Specifies the result when an editable region has been added to the document.

Methods

Method Description
Add Adds a new editable region to the document.
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
GetItem Gets the editable region with the specified id.
GetItems Gets all editable regions at the current text input position.
Remove Removes an editable region from the collection.

Properties

Property Description
Count Gets the number of elements contained in the collection.
IsSynchronized Returns true if the collection is designed to be thread safe, otherwise, it returns false.
Item Gets the editable region with the specified number from the collection.
SyncRoot Gets an object that can be used to synchronize access to the collection.