Redigeeri

Jagamisviis:


PrinterSettings.Duplex Property

Definition

Gets or sets the printer setting for double-sided printing.

public:
 property System::Drawing::Printing::Duplex Duplex { System::Drawing::Printing::Duplex get(); void set(System::Drawing::Printing::Duplex value); };
public System.Drawing.Printing.Duplex Duplex { get; set; }
member this.Duplex : System.Drawing.Printing.Duplex with get, set
Public Property Duplex As Duplex

Property Value

One of the Duplex values. The default is determined by the printer.

Exceptions

The value of the Duplex property is not one of the Duplex values.

Remarks

You can use the CanDuplex property to check to see if the printer supports duplex printing.

Applies to

See also