Method RenderTo

Namespace
SoftZenPdf.Layout
Assembly
SoftZenPdf.dll

RenderTo(PdfDocument)

Lays out the content and appends the resulting pages to document.

public IReadOnlyList<PdfPage> RenderTo(PdfDocument document)

Parameters

document PdfDocument

The document to add pages to; it can already have pages.

Returns

IReadOnlyList<PdfPage>

The pages added.

Exceptions

InvalidOperationException

A standard font would be used in a PDF/A document (register TrueType fonts and set DefaultFamily).