ObjectDelete Method
This method deletes an image, text frame, signature field or OLE object.
Syntax
TXTextControl.ObjectDelete ObjectId
Parameters
| Parameter | Description |
|---|---|
| ObjectId | Is the identifier of the object to delete. |
Return Value
The method returns True if the specified object could be deleted, otherwise it returns False.
Data Types
| Name | Data type |
|---|---|
| ObjectId | Integer |
| Return value | Boolean |
Remarks
If an object is deleted from code using this method, no ObjectDeleted Event occurs.