TX Text Control ActiveX

ObjectDelete Method

Method

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

Syntax

TXTextControl.ObjectDelete ObjectId

Parameters

ParameterDescription
ObjectIdIs 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

NameData type
ObjectIdInteger
Return valueBoolean

Remarks

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

See Also