Adds a new editable region to the document. Its position is defined through the EditableRegion.Start and EditableRegion.Length properties. If the editable region's length is zero, the current text selection is used to define the position.

Add(EditableRegion)

public EditableRegionCollection.AddResult Add(EditableRegion editableRegion);
Public Function Add(ByVal editableRegion As EditableRegion) As EditableRegionCollection.AddResult

Parameters

Parameter Description
editableRegion Specifies the editable region to add.

Return Value

The return value specifies whether the new region has successfully been inserted. It can be one of the EditableRegionCollection.AddResult values.