ShowPrintPreviewDlg method (LEADDlgFile Control)
Builder Syntax |
int ShowPrintPreviewDlg (TWinControl* AOwnerCtrl); |
Delphi Syntax |
Function ShowPrintPreviewDlg (AOwnerCtrl: TWinControl ): L_INT; |
Overview |
Refer to Using Imaging Common Dialogs. |
Remarks
Displays the print preview dialog box for a single image printing.
The LEADImage property must be assigned a Main Control containing a valid bitmap before calling this method.
The following properties are associated with this method:
MarginsRect property.
MinMarginsRect property.
DevModeHandle property.
DevNamesHandle property.
WindowIcon property.
CommandShow property.
To include a Help button in the dialog, set the ShowHelpButton property to TRUE.
The Print Preview dialog for printing a single image can be seen below:
See Also