NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PageSetupDialog Class

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

Remarks

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.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

PageSetupDialog Members | System.WinForms Namespace | CommonDialog | Margins | PageSettings | PrintDocument | PrinterSettings