ShowPrintPreviewDlg method (ILEADRasterDlgFile)

Visual Basic example

Visual C++ example

 

Syntax

short ShowPrintPreviewDlg(long hWnd);

Overview

Refer to Using Imaging Common Dialogs

Remarks

Displays the print preview dialog box for a single image printing.

Before calling this dialog box the Common Dialog Bitmap property must be assigned a valid bitmap.

The following properties are associated with this method:

MarginsLeft property

MarginsTop property

MarginsWidth property

MarginsHeight property

MinMarginsLeft property

MinMarginsTop property

MinMarginsWidth property

MinMarginsHeight property

WindowIcon property

Visible property

To include a Help button in the dialog, set the ShowHelpButton property to VARIANT_TRUE.

The Print Preview dialog for printing a single image can be seen below:

image\PrintPreview.gif

See Also

Elements

MarginsLeft property, MarginsTop property, MarginsWidth property, MarginsHeight property, MinMarginsLeft property, MinMarginsTop property, MinMarginsWidth property, MinMarginsHeight property, WindowIcon property, Visible property