This documentation is archived and is not being maintained.

PageSetupDialog Constructor

Initializes a new instance of the PageSetupDialog class.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public PageSetupDialog ()
public PageSetupDialog ()
public function PageSetupDialog ()

When an instance of PageSetupDialog is created, the following properties are initialized to the specified values.

Property

Initial Value

AllowMargins

true

AllowOrientation

true

AllowPaper

true

AllowPrinter

true

Document

a null reference (Nothing in Visual Basic)

MinMargins

a null reference (Nothing in Visual Basic)

PageSettings

a null reference (Nothing in Visual Basic)

PrinterSettings

a null reference (Nothing in Visual Basic)

ShowHelp

false

ShowNetwork

true

You can change the value for any of these properties through a separate call to the property.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Show: