PrinterSetup.PageSetupDialog Function

Displays the standard Page Setup dialog box. If the SetupString property has been populated before this method is called, the Page Setup dialog box will reflect the settings stored in the SetupString property.

Syntax
result = PrinterSetup.PageSetupDialog( [window] )

Parameters
window | (Optional)

Return Value
Result | Boolean

# Notes

After the user clicks the OK button to close the Page Setup dialog box, all of the PrinterSetup properties will be updated to reflect the settings the user chose.

Takes an optional parameter, window. If passed, window is a dialog or sheet window that you wish to use as the Page Setup dialog box instead of the built in dialog. Returns a Boolean. This function returns True if the User clicks OK and False if the user clicks Cancel.