JVCL Help:TJvCustomPreviewControl.OnDrawPreviewPage

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

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