Table of Contents

Method EnablePrintingBackgrounds

Namespace
DotNetBrowser.Print.Settings
Assembly
DotNetBrowser.dll

EnablePrintingBackgrounds<TPrintSettings>(IPrintBackgrounds<TPrintSettings>)

Enables printing background graphics.

public static TPrintSettings EnablePrintingBackgrounds<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.