PrintInfo Reference > PrintInfo Methods > PageSetup Method (PrintInfo) |
The PageSetup method opens the page setup dialog box for printing and print preview.
PrintInfo.PageSetup
Arguments
None
Return Value
None
This is a standard Windows dialog box from which end users can select the paper size and source, portrait or landscape orientation, margins, and the name of the output device.
If the user selects OK in the page setup dialog, the specified printer settings are stored in the Settings property as a string of binary data.