Table of Contents

Interface IPdfDisplayListRasterizer

Namespace
PdfEngine.Vector.PrintProduction
Assembly
PdfEngine.Vector.dll

Draws a display list to pixels: tight 8-bit B, G, R, A rows of exactly width × height, the page's crop box filling them with its /Rotate applied, over white. The engine has no rasterizer of its own; the Direct2D backend provides one (Direct2DDisplayListRasterizer).

public interface IPdfDisplayListRasterizer

Methods

RenderAsync(IPdfDisplayList, int, int, CancellationToken)

Task<byte[]> RenderAsync(IPdfDisplayList list, int width, int height, CancellationToken cancellationToken = default)

Parameters

list IPdfDisplayList
width int
height int
cancellationToken CancellationToken

Returns

Task<byte[]>