TX Text Control ActiveX

ObjectGetData Event

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)

Parameters

ParameterDescription
ObjectIdIs the identifier of the object that is to be saved.
ObjectDataThe object's private data can be copied to this parameter.

Data Types

NameData type
ObjectIdInteger
ObjectDataVariant

Remarks

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

See Also