Removes an editable region from the collection. The region's text is not removed.
public bool Remove(EditableRegion editableRegion, bool selectedPart);
Public Function Remove(ByVal editableRegion As EditableRegion, selectedPart As Boolean) As Boolean
Parameter | Description |
---|---|
editable |
Specifies the editable region to remove. |
selected |
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. |
The return value is true, if the region could be removed. Otherwise, it is false.