Represents a dialog box which allows users to manipulate page settings, including margins and paper orientation.
Object
Component
CommonDialog
PageSetupDialog
[Visual Basic] Public Class PageSetupDialog Inherits CommonDialog [C#] public class PageSetupDialog : CommonDialog [C++] public __gc class PageSetupDialog : public CommonDialog [JScript] public class PageSetupDialog extends CommonDialog
The PageSetupDialog dialog box modifies the TBD and PrinterSettings information for a given Document. The user may enable sections of the dialog box to manipulate printing, margins, and paper orientation, size, and source and to show help and network buttons. MinMargins defines the minimum margins a user may select.
When you create an instance of PageSetupDialog, the read/write properties are set to initial values. For a list of these, see the System.WinForms.PageSetupDialog.PageSetupDialog constructor.
Namespace: System.WinForms
Assembly: System.WinForms.dll
PageSetupDialog Members | System.WinForms Namespace | CommonDialog | Margins | PageSettings | PrintDocument | PrinterSettings