Removes an editable region from the collection. The region's text is not removed.

Remove(EditableRegion, Bool)

public bool Remove(EditableRegion editableRegion, bool selectedPart);
Public Function Remove(ByVal editableRegion As EditableRegion, selectedPart As Boolean) As Boolean


Parameter Description
editableRegion Specifies the editable region to remove.
selectedPart When this parameter is true, only the selected part of the editable region is removed. If the selection is in the middle od the region, it is split into two parts with the same parameters.

Return Value

The return value is true, if the region could be removed. Otherwise, it is false.