PrintDialog.AllowPrintToFile Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

public bool AllowPrintToFile { get; set; }

Property Value

Type: System.Boolean

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

.NET Framework
Available since 1.1
Return to top