Export (0) Print
Expand All

PrinterSettings.Duplex Property

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

Namespace:  System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public Duplex Duplex { get; set; }

Property Value

Type: System.Drawing.Printing.Duplex
One of the Duplex values. The default is determined by the printer.

ExceptionCondition
InvalidEnumArgumentException

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

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft