PeachPDF

PeachPDF.PdfGenerator

PdfGenerator.AddPages(PeachPdfDocument, Action<IDocumentBuilder>, PdfGenerateConfig) Method

Builds a declarative document’s pages via handler (see CreateDocument(Action<IDocumentBuilder>, PdfGenerateConfig)) and appends them to document - the declarative counterpart of AddPdfPages(PeachPdfDocument, string, PdfGenerateConfig, PeachPdfCssContent), callable more than once to add further declaratively-built pages to the same document.

public System.Threading.Tasks.Task AddPages(PeachPDF.PeachPdfDocument document, System.Action<PeachPDF.Layout.IDocumentBuilder> handler, PeachPDF.PdfGenerateConfig? config=null);

Parameters

document PeachPdfDocument

handler System.Action<IDocumentBuilder>

config PdfGenerateConfig

Returns

System.Threading.Tasks.Task