
Indicates whether the Help button is visible. By default null when a PageSetupDialog object is created. Identifies the printer settings that the dialog box will modify when the user clicks the Printer button. By default, null when a PageSetupDialog object is created. Indicates the minimum margins the user is allowed to select, in hundredths of an inch. Identifies the PrintDocument object from which to get page settings. By default true when a PageSetupDialog object is created. Indicates whether the Printer button is enabled. By default, true when a PageSetupDialog object is created. Indicates whether the paper section of the dialog box (paper size and paper source) is enabled. Indicates whether the orientation section of the dialog box (landscape versus portrait) is enabled.

Indicates whether the margins section of the dialog box is enabled. Listing 11.29 creates a PageSetupDialog object, sets its properties, calls ShowDialog, and prints the document. All of these properties have both get the set options.Īs with PrintDialog, the PageSetupdialog class has a Reset method that resets all the default values for the dialog. Table 11.8 describes the properties of the PageSetupDialog class.

Users can also set a PageSettings object through PageSetupDialog's PageSettings property.
Sharp printers homepage windows#
This class represents a standard Windows page setup dialog that allows users to manipulate page settings, including margins and paper orientation. The PageSetupDialog class represents the PageSetupDialog control in the. This article has been excerpted from book "Graphics Programming with GDI+".
