Vcl.Dialogs.TPageSetupDialog.OnDrawMinMargin

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDrawMinMargin: TPaintPageEvent read FOnDrawMinMargin write FOnDrawMinMargin;

C++

__property TPaintPageEvent OnDrawMinMargin = {read=FOnDrawMinMargin, write=FOnDrawMinMargin};

Properties

Type Visibility Source Unit Parent
event published
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TPageSetupDialog

Description

Occurs before drawing minimum margins.

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.

See Also