แก้ไข

แชร์ผ่าน


PageSetupDialog.AllowPrinter Property

Definition

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

public:
 property bool AllowPrinter { bool get(); void set(bool value); };
public bool AllowPrinter { get; set; }
member this.AllowPrinter : bool with get, set
Public Property AllowPrinter As Boolean

Property Value

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

Remarks

Note

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

Applies to

See also