JVCL Help:TJvPreviewControl.OnAddPage

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 Add is called.


Pascal

 propertyOnAddPage: TJvDrawPageEvent;


Parameters

Parameters Description
Sender The object that called the event.
PageIndex The index of the new page.
Canvas The canvas to draw to.
PageRect The coordinates of the entire page.
PrintRect The coordinates of the printable area of the page.
NeedMorePages Set this to true to automatically add more pages (OnAddPage is called repeatedly until NeedMorePages is set to false).


Description

Write a handler for the OnAddPage event to draw the content of a newly added page. If you don't assign a handler to this event, nothing will be drawn on the page that was added by Add.


See Also

TJvCustomPreviewControl.Add, TJvCustomPreviewControl.OnDrawPreviewPage


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