RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPageSetupDialog.OnDrawMinMargin Event

Occurs before drawing minimum margins.

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

Write an OnDrawMinMargin event handler to customize the way the minimum margins are drawn. The PageRect parameter indicates the minimum margins of the page.  

If the handler sets the DoneDrawing parameter to true, default drawing for the minimum margins, margins, and "Greek" text is suppressed and the OnDrawMargin and OnDrawGreekText event handlers are not called. However, this does not suppress special drawing features for envelope paper types: drawing the return address or stamp, and calling the OnDrawEnvStamp, and OnDrawRetAddress event handlers. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!