Home > BSPrinter documentation > Reference

ShowPageSetup Method

Applies to: PrintPreview, IPrinterEx object

  Return Type:     BSGeneralDialogResultConstants  
  No parameters.  


Displays the Page Setup dialog box, where the user can select the paper size, page orientation and margins.

If the user changed something and clicked the OK button, it returns bsDialogResultOK, otherwise it returns bsDialogResultCancel.
Note: If the user did not change anything, even if pressed the OK button, the return value will be bsDialogResultCancel.

See Also:

ShowPrinter method
ShowPreview method
ShowFormatOptions method
ShowPageNumbersOptions method