Table of Contents

Method SetDuplexMode

Namespace
DotNetBrowser.Print.Settings
Assembly
DotNetBrowser.dll

SetDuplexMode<TPrintSettings>(IDuplexMode<TPrintSettings>, DuplexMode)

Sets the duplex mode.

public static TPrintSettings SetDuplexMode<TPrintSettings>(this IDuplexMode<TPrintSettings> obj, DuplexMode duplexMode) where TPrintSettings : class, IPrintSettings

Parameters

obj IDuplexMode<TPrintSettings>

The IDuplexMode<TPrintSettings> implementation.

duplexMode DuplexMode

The duplex mode used for printing.

Returns

TPrintSettings

The current print settings instance.

Type Parameters

TPrintSettings

The specific print settings type.

Exceptions

ArgumentException

The specified duplex mode is not supported by the printer.