Class PdfDocumentBuilder
- Namespace
- BitMiracle.Docotic.Pdf.Layout
- Assembly
- BitMiracle.Docotic.Pdf.Layout.dll
The builder of PDF documents.
public sealed class PdfDocumentBuilder
- Inheritance
-
PdfDocumentBuilder
- Inherited Members
Methods
- Create()
Creates a new instance of the PdfDocumentBuilder class.
- Encryption(PdfEncryptionHandler?)
Sets the encryption handler to use while encrypting the output PDF.
- FontLoader(IFontLoader)
Sets the font loader.
- Generate(Stream, Action<Document>)
Generates PDF document and saves it to a stream.
- Generate(string, Action<Document>)
Generates PDF document and saves it to a file.
- Info(Action<PdfInfo>?)
Adds metadata to PDF info dictionary.
- Linearization(bool)
Sets a value indicating whether output PDF files should be linearized for faster web viewing.
- MissingGlyphHandler(PdfMissingGlyphMapper?)
Sets the handler for glyphs that cannot be drawn using the TextStyle font or its fallbacks.
- ObjectStreams(bool)
Sets a value indicating whether to use object streams in a generated PDF file.
- StreamProvider(IPdfStreamProvider)
Sets the stream provider.
- Version(PdfVersion)
Sets the PDF version to use while generating a document.