RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPageSetupDialog.OnDrawFullPage Event

Occurs before any page drawing.

Pascal
property OnDrawFullPage: TPaintPageEvent;
C++
__property TPaintPageEvent OnDrawFullPage;

Write an OnDrawFullPage event handler to customize the way the entire page is drawn. The PageRect parameter indicates the boundaries of the page.  

If the handler sets the DoneDrawing parameter to true, all default page drawing is suppressed and none of the subsequent event handlers (OnDrawMinMargin, OnDrawMargin, OnDrawGreekText, OnDrawEnvStamp, and OnDrawRetAddress) are called. All drawing of the sample page is done by the OnDrawFullPage event handler. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!