Table of Contents

Method SetColorModel

Namespace
DotNetBrowser.Print.Settings
Assembly
DotNetBrowser.dll

SetColorModel<TPrintSettings>(IColorModel<TPrintSettings>, ColorModel)

Sets the color model used for printing.

public static TPrintSettings SetColorModel<TPrintSettings>(this IColorModel<TPrintSettings> obj, ColorModel colorModel) where TPrintSettings : class, IPrintSettings

Parameters

obj IColorModel<TPrintSettings>

The IColorModel<TPrintSettings> implementation.

colorModel ColorModel

The color model used for printing.

Returns

TPrintSettings

The current print settings instance.

Type Parameters

TPrintSettings

The specific print settings type.

Exceptions

ArgumentException

The specified color model is not supported by the printer.