Table of Contents

Method EnablePrintingSelectionOnly

Namespace
DotNetBrowser.Print.Settings
Assembly
DotNetBrowser.dll

EnablePrintingSelectionOnly<TPrintSettings>(IPrintSelectionOnly<TPrintSettings>)

Enables printing only the selected content.

public static TPrintSettings EnablePrintingSelectionOnly<TPrintSettings>(this IPrintSelectionOnly<TPrintSettings> obj) where TPrintSettings : class, IPrintSettings

Parameters

obj IPrintSelectionOnly<TPrintSettings>

The IPrintSelectionOnly<TPrintSettings> implementation.

Returns

TPrintSettings

The current print settings instance.

Type Parameters

TPrintSettings

The specific print settings type.

Exceptions

ArgumentException

Only the selected content printing is not supported by the printer.