JVCL Help:TJvCustomPreviewControl.OnDrawPreviewPage
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvCustomPreviewControl.OnDrawPreviewPage Event
[+] TJvCustomPreviewControl Events
[+] TJvCustomPreviewControl Methods
[+] TJvCustomPreviewControl Properties
Search in JVCL Help
Search in all projectsSummary
Occurs when a page is drawn in the preview.
Pascal
TJvDrawPreviewEvent = procedure (Sender: TObject; PageIndex: Integer; Canvas: TCanvas; PageRect, PrintRect: TRect) ofobject;
propertyOnDrawPreviewPage: TJvDrawPreviewEvent;
Parameters
Parameters | Description |
PageRect | The coordinates of the entire page. |
PrintRect | The coordinates of the printable area of the page. |
Canvas | The canvas to draw to. |
Sender | The object that called the event. |
PageIndex | The index of the new page. |
Description
Write a handler for the OnDrawPreviewPage to take specific actions when a page needs to be drawn in the preview.
See Also
TJvCustomPreviewControl.OnAddPage
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page