Vcl.Dialogs.TPageSetupDialog.OnDrawEnvStamp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDrawEnvStamp: TPaintPageEvent read FOnDrawEnvStamp write FOnDrawEnvStamp;

C++

__property TPaintPageEvent OnDrawEnvStamp = {read=FOnDrawEnvStamp, write=FOnDrawEnvStamp};

Properties

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

Description

Occurs before dialog draws stamp.

Write an OnDrawEnvStamp event handler to customize the way the page setup dialog draws the stamp. The PageRect parameter indicates the boundaries of the stamp.

If the handler sets the DoneDrawing parameter to true, default stamp drawing is suppressed.

OnDrawEnvStamp only occurs for envelope paper types.