# EditableRegionDelete Method

> Deletes the editable region with the RegionId returned by EditableRegionInsert from the document; returns False when the region identifier is invalid.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > EditableRegionDelete Method
- **196 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregiondelete-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregiondelete-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregiondelete-method/llms-full.txt

---

This method can be used to delete an editable region from the document.

Introduced: 25.0.

### Syntax

```vbscript
TXTextControl.EditableRegionDelete RegionId
```

### Parameters

| Parameter | Description |
|---|---|
| RegionId | Specifies the editable region's unique identifier. This must be the value returned from the [EditableRegionInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregioninsert-method/llms-full.txt) method. |

### Return Value

The return value is True, if the specified region could be deleted. Otherwise, it is False. False is returned, if the specified region id is invalid.

### Data Types

| Name | Data type |
|---|---|
| RegionId | Long |
| Return value | Boolean |

### See Also

- [Programming Category: Restricted Document Access](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/restricted-access/llms-full.txt)

---

## Nearby

- **Previous:** [DocumentPermissions Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/documentpermissions-property/llms-full.txt)
- **Next:** [EditableRegionEntered Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/editableregionentered-event/llms-full.txt)
