Duplex Property

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.

Exception Condition
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
Available since 1.1
Return to top
Show:
© 2016 Microsoft