TXTextControl.EditableRegionCollection.GetItem Method

Gets the editable region with the specified id. The method returns null, if such a region does not exist. If more than one region with this id exists, the first found region is returned.

Syntax

[C#]
public EditableRegion GetItem(int id);
[Visual Basic]
Public Function GetItem(ByVal id As Integer) As EditableRegion
Parameter Description
id

Specifies the editable region's identifier. The method returns null if a region with the specified identifier does not exist.

Return Value

The return value is null, if an editable region with the specified parameters could not be found. Otherwise, it is an object of the type EditableRegion.

See Also