PrintDialog Constructor
Collapse the table of content
Expand the table of content

PrintDialog Constructor ()

 

Initializes a new instance of the PrintDialog class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public PrintDialog()

When you create an instance of PrintDialog, the following read/write properties are set to initial values.

Property

Initial Value

AllowSomePages

false

AllowPrintToFile

true

AllowSelection

false

Document

null

PrinterSettings

null

PrintToFile

false

ShowHelp

false

ShowNetwork

true

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft