Class PdfAuthoringBuilder
- Namespace
- ZingPDF
- Assembly
- ZingPDF.dll
Fluent authoring surface for creating PDFs.
public sealed class PdfAuthoringBuilder
- Inheritance
-
PdfAuthoringBuilder
- Inherited Members
Methods
AddPage(Action<PdfPageAuthoringBuilder>)
Adds a page to the document and configures its authored content.
public PdfAuthoringBuilder AddPage(Action<PdfAuthoringBuilder.PdfPageAuthoringBuilder> configurePage)
Parameters
configurePageAction<PdfAuthoringBuilder.PdfPageAuthoringBuilder>
Returns
Page(Action<PdfPageAuthoringBuilder>)
Adds a page to the document and configures its authored content.
public PdfAuthoringBuilder Page(Action<PdfAuthoringBuilder.PdfPageAuthoringBuilder> configurePage)
Parameters
configurePageAction<PdfAuthoringBuilder.PdfPageAuthoringBuilder>
Returns
SaveAsync(Stream)
Materializes the fluent authoring plan and saves the created PDF to the supplied stream.
public Task SaveAsync(Stream output)
Parameters
outputStream
Returns
SaveToFileAsync(string)
Materializes the fluent authoring plan and saves the created PDF to a file path.
public Task SaveToFileAsync(string outputPath)
Parameters
outputPathstring