TXTextControl.EditableRegionCollection Class

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.

Introduced: 25.0.


public sealed class EditableRegionCollection
[Visual Basic]
Public NotInheritable Class EditableRegionCollection


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.
SyncRoot Gets an object that can be used to synchronize access to the collection.


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.
Item Gets the editable region with the specified number from the collection.
Remove Removes an editable region from the collection.


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

See Also