Table of Contents

Namespace CobaltPdf.WebKit

Classes

CloudEnvironment

Ready-made PoolOptions presets for common deployment targets. Provided for API compatibility with CobaltPdf — in this WebKitGTK backend the Chromium flags are stored but ignored.

CobaltCookie

Represents a browser cookie configuration used during PDF generation.

CobaltEngine

The main PDF renderer for CobaltPdf.WebKit. Create one instance and call fluent methods to configure each render, finishing with RenderUrlAsPdfAsync(string, CancellationToken) or RenderHtmlAsPdfAsync(string, CancellationToken).

CobaltPdfServiceExtensions

DI registration helpers for the WebKitGTK-backed CobaltPdf.

LazyLoadOptions

Lazy-load scroll configuration applied before PDF capture.

MarginOptions

Represents the page margins for a PDF document.

MetadataOptions

Descriptive metadata embedded in the generated PDF.

PdfDocument

The rendered PDF artifact.

PdfDocumentTaskExtensions

Extensions that let PdfDocument operations chain directly off the render Task<TResult> without an intermediate await.

PdfEncryptionOptions

Password protection / permissions for the generated PDF.

PdfGenerator

Concrete PDF generator. Mirrors the original CobaltPdf fluent surface and dispatches each render to a WebKitGTK subprocess. By default the subprocess runs inline from a bundled portable WebKit (auto-provisioned by BundleProvisioner); a Docker fallback exists for local dev.

PdfOptions

Configuration options used when generating a PDF.

PdfRequestExtensions

Extension methods that execute a CobaltPdf.Requests.PdfRequest using a WebKit CobaltEngine instance.

PoolOptions

Configuration options for the rendering worker pool and the bundle provisioner. The defaults are sized for a typical Azure App Service Linux dyno; override anything that does not fit your host.

WaitOptions

Base class for defining a wait strategy before PDF rendering.

WatermarkOptions

Visual settings for a watermark injected into the generated PDF.

Interfaces

IPdfGenerator

Fluent configuration + render contract for a single PDF generation operation.

IPdfGeneratorFinal

Continuation of the fluent chain after WithCustomJS has been called.

Enums

BrowserLoggingMode

Specifies the destination modes for capturing browser-level console logs.

CssMediaType

CSS media type to emulate during PDF rendering.

HorizontalAlignment

Horizontal alignment for watermark placement.

MarginUnit

Measurement units for margins.

VerticalAlignment

Vertical alignment for watermark placement.

WatermarkPosition

Convenience positions for watermark placement.

WatermarkStyle

Predefined visual styles for text watermarks.