TXTextControl.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.

Syntax

ObjectGetData(ObjectId, ObjectData)
Parameter Description
ObjectId

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

ObjectData

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

Remarks

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

Data Types

ObjectId:    Integer
ObjectData:    Variant

See Also