C++
ACDBCORE2D_PORT Acad::ErrorStatus deleteItem( const AcDbItemLocator& index, bool bErase = true );
Description
Marks the item at given index for erase/unerase. The item at given index goes to hidden state, when marked erased.
Parameters
| Parameters | Description |
|---|---|
| index | The input spatial index. |
| bErase | The input flag, whether erase or unerase. |
Returns
Acad::ErrorStatus