TXTextControl.ObjectGetData Event

Occurs when a document which contains objects, is saved. This event is sent only for objects that have been inserted via its hWnd property. In response to this event, the application can store the object's data by copying it into the ObjectData parameter.


ObjectGetData(ObjectId, ObjectData)
Parameter Description

Is the identifier of the object that is to be saved.


The object's private data can be copied to this parameter.


It is recommended to store binary data as a byte array and not as a string.

Data Types

ObjectId:    Integer
ObjectData:    Variant

See Also