PrintDialog.PrintToFile Property

 

Gets or sets a value indicating whether the Print to file check box is selected.

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

public bool PrintToFile { get; set; }

Property Value

Type: System.Boolean

true if the Print to file check box is selected; otherwise, false. The default is false.

.NET Framework
Available since 1.1
Return to top
Show: