Table of Contents

Class CobaltPdfServiceExtensions

Namespace
CobaltPdf.WebKit
Assembly
CobaltPDF.WebKit.dll

DI registration helpers for the WebKitGTK-backed CobaltPdf.

public static class CobaltPdfServiceExtensions
Inheritance
CobaltPdfServiceExtensions
Inherited Members

Methods

AddCobaltPdf(IServiceCollection, Action<PoolOptions>?)

Registers CobaltEngine as a singleton, configuring the global pool with the optional configure action.

public static IServiceCollection AddCobaltPdf(this IServiceCollection services, Action<PoolOptions>? configure = null)

Parameters

services IServiceCollection
configure Action<PoolOptions>

Returns

IServiceCollection