Table of Contents

Method DisablePrintingHeaderFooter

Namespace
DotNetBrowser.Print.Settings
Assembly
DotNetBrowser.dll

DisablePrintingHeaderFooter<TPrintSettings>(IPrintHeaderFooter<TPrintSettings>)

Disables printing headers and footers.

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