Table of Contents

Method EnablePrintingHeaderFooter

Namespace
DotNetBrowser.Print.Settings
Assembly
DotNetBrowser.dll

EnablePrintingHeaderFooter<TPrintSettings>(IPrintHeaderFooter<TPrintSettings>)

Enables printing headers and footers.

public static TPrintSettings EnablePrintingHeaderFooter<TPrintSettings>(this IPrintHeaderFooter<TPrintSettings> obj) where TPrintSettings : class, IPrintSettings

Parameters

obj IPrintHeaderFooter<TPrintSettings>

The IPrintHeaderFooter<TPrintSettings> implementation.

Returns

TPrintSettings

The current print settings instance.

Type Parameters

TPrintSettings

The specific print settings type.

Exceptions

ArgumentException

The headers and footer printing is not supported by the printer.