--- title: "PageSetupDialog Component" ms.date: "03/30/2017" helpviewer_keywords: - "printing [Windows Forms], page setup" - "margins [Windows Forms], page setup options" - "paper orientation" - "print options [Windows Forms], PageSetupDialog component" - "page properties" - "printing [Windows Forms], displaying setup dialog boxes" - "portrait orientation" - "headers [Windows Forms], printing" - "footers [Windows Forms], page setup options" - "landscape orientation" - "page footer" - "page setup" - "Page Setup dialog box" - "PageSetupDialog component" - "page header" - "printing [Windows Forms], headers and footers" ms.assetid: 1c7ccb02-ac62-4fc8-8e4f-c67b01a86802 --- # PageSetupDialog Component (Windows Forms) The Windows Forms component is a pre-configured dialog box used to set page details for printing in Windows-based applications. Use it within your Windows-based application as a simple solution for users to set page preferences in lieu of configuring your own dialog box. You can enable users to set border and margin adjustments, headers and footers, and portrait vs. landscape orientation. By relying on standard Windows dialog boxes, you create applications whose basic functionality is immediately familiar to users. ## In This Section [PageSetupDialog Component Overview](pagesetupdialog-component-overview-windows-forms.md) Introduces the general concepts of the component, which you can use to display a pre-configured dialog box that users can use to manipulate page settings. [How to: Determine Page Properties Using the PageSetupDialog Component](how-to-determine-page-properties-using-the-pagesetupdialog-component.md) Explains how to set page properties by using an instance of the component at run time. ## Reference Provides reference information on the class and its members. ## Related Sections [Controls to Use on Windows Forms](controls-to-use-on-windows-forms.md) Provides a complete list of Windows Forms controls, with links to information on their use. [Dialog-Box Controls and Components](dialog-box-controls-and-components-windows-forms.md) Describes a set of controls and components that allow users to perform standard interactions with the application or system.