JVCL Help:TJvCustomPreviewControl.Add

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

Search in JVCL Help

 
Search in all projects
 

Summary

Adds a new page to the preview.


Pascal

 functionAdd: TMetafile;


Return Value

True if the page was added, false otherwise.


Description

Call Add to add a new page to the preview. Add calls OnAddPage which in turn must be handled so it draws the page content on the new page.
You don't need to call Add if you are using a renderer to create the preview. Only use Add when creating custom previews.


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