TXTextControl.ObjectPrint Event

Occurs when a document containing objects is printed. This event is sent only for objects that have been inserted via its hWnd property.


ObjectPrint(ObjectId, Device, Left, Top, Right, Bottom, Processed)
Parameter Description

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


Is the printer device context.

Left, Top, Right, Bottom

Is the object's bounding rectangle. This rectangle is given in device pixels with an origin at the upper left corner of the object.


When the object has been printed, this parameter should be set to True.

Data Types

ObjectId:    Integer
Device:    Long
Left, Top, Right, Bottom:    Long
Processed:    Boolean

See Also