Home > BSPrinter documentation > Reference

ShowPreview Method


Applies to: PrintPreview control , IPrinterEx object


Return Type: BSGeneralDialogResultConstants
No parameters.


Description:

Displays the Print Preview dialog box.

If the user didn't print the report, the return value will be bsDialogResultCancel.

It returns bsDialogResultOK if the user printed the report or bsDialogResultCancel otherwise.

See Also:

ShowPrinter method
ShowPageSetup method