Table of Contents

Method DisablePrintingBackgrounds

Namespace
DotNetBrowser.Print.Settings
Assembly
DotNetBrowser.dll

DisablePrintingBackgrounds<TPrintSettings>(IPrintBackgrounds<TPrintSettings>)

Disables printing background graphics.

public static TPrintSettings DisablePrintingBackgrounds<TPrintSettings>(this IPrintBackgrounds<TPrintSettings> obj) where TPrintSettings : class, IPrintSettings

Parameters

obj IPrintBackgrounds<TPrintSettings>

The IPrintBackgrounds<TPrintSettings> implementation.

Returns

TPrintSettings

The current print settings instance.

Type Parameters

TPrintSettings

The specific print settings type.

Exceptions

ArgumentException

The background graphics printing is not supported by the printer.