TXTextControl.ObjectCreated Event

This event specifies that a new object has been created. This can happen when a document that contains objects, is loaded or when an object is pasted from the clipboard. This event does not occur after inserting a new object with the ObjectInsert, ObjectInsertFixed or ObjectInsertAsChar methods.

Syntax

ObjectCreated(ObjectId)
Parameter Description
ObjectId

Is the identifier of the object that has been created.

Remarks

The value of the ObjectCurrent property is updated with the identifier given through the ObjectId parameter.

Data Types

ObjectId:    Integer

See Also