TX Text Control ActiveX

ObjectPrint Event

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)

Parameters

ParameterDescription
ObjectIdIs the identifier of the object that is to be printed.
DeviceIs the printer device context.
Left, Top, Right, BottomIs the object's bounding rectangle. This rectangle is given in device pixels with an origin at the upper left corner of the object.
ProcessedWhen the object has been printed, this parameter should be set to True.

Data Types

NameData type
ObjectIdInteger
DeviceLong
Left, Top, Right, BottomLong
ProcessedBoolean

See Also