[]
type PdfDocumentOptions = object;
Provides options for creating a new PdfDocument.
optional compressionLevel?: CompressionLevel;
The compression level. The default is "Fastest".
optional conformanceLevel?: PdfAConformanceLevel;
The PDF/A conformance level. The default is "None".
optional defaultPageHeight?: number;
The default height of new pages, in points.
optional defaultPageWidth?: number;
The default width of new pages, in points.
optional fontEmbedMode?: FontEmbedMode;
The font embedding mode. The default is "EmbedSubset".
optional pdfFontFormat?: PdfFontFormat;
The format used to represent fonts in the PDF document. The default is "Type0AutoOneByteEncoding".
optional standardFontEmbedMode?: FontEmbedMode;
The font embedding mode for the 14 standard PDF fonts. The default is "NotEmbed".