TXTextControl.ObjectDelete Method

This method deletes an image, text frame or OLE object.


TXTextControl.ObjectDelete ObjectId
Parameter Description

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.


If an object is deleted from code using this method, no ObjectDeleted Event occurs.

Data Types

ObjectId:    Integer
Return value:    Boolean

See Also