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

Syntax

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

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

Device

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.

Processed

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