PageSetupDialog.AllowPrinter Property

 

Gets or sets a value indicating whether the Printer button is enabled.

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

public bool AllowPrinter { get; set; }

Property Value

Type: System.Boolean

true if the Printer button is enabled; otherwise, false. The default is true.

System_CAPS_noteNote

Setting this property to true has no effect if the application is running on Windows Vista. The Printer button will not be shown.

.NET Framework
Available since 1.1
Return to top
Show: