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
| 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
| Name | Data type |
|---|
| ObjectId | Integer |
| Device | Long |
| Left, Top, Right, Bottom | Long |
| Processed | Boolean |