Table of Contents

Class PdfLayoutRenderer

Namespace
DocWright.Renderers.Pdf
Assembly
DocWright.Renderers.Pdf.dll

Single-pass PDF 1.7 renderer over DocWright layout primitives.

public sealed class PdfLayoutRenderer : ILayoutRenderer
Inheritance
PdfLayoutRenderer
Implements
Inherited Members

Constructors

PdfLayoutRenderer(FontEngine, PdfRenderMetadata?)

Initializes a PDF layout renderer.

Properties

OutputFormatName

Gets the stable output format identifier, for example "pdf".

Methods

Render(ILaidOutDocument, Stream, RenderOptions, IConversionDiagnostics)

Renders the document to the output stream in a single forward-only pass.

Render(ILaidOutDocument, Stream, RenderOptions, IConversionDiagnostics, CancellationToken, Action<int, int>?)

Renders the document while honoring cancellation checks at page boundaries.

RenderAsync(ILaidOutDocument, Stream, RenderOptions, IConversionDiagnostics, CancellationToken, Action<int, int>?)

Asynchronously renders the document, using asynchronous stream writes for network-stream friendliness.