[]
        
(Showing Draft Content)

PdfDocumentOptions

DsPdfJS API v9.1.0


DsPdfJS API / PdfDocumentOptions

Type Alias: PdfDocumentOptions

PdfDocumentOptions = object

Provides options for creating a new PdfDocument.

Properties

compressionLevel?

optional compressionLevel: CompressionLevel

The compression level. The default is "Fastest".


conformanceLevel?

optional conformanceLevel: PdfAConformanceLevel

The PDF/A conformance level. The default is "None".


defaultPageHeight?

optional defaultPageHeight: number

The default height of new pages, in points.


defaultPageWidth?

optional defaultPageWidth: number

The default width of new pages, in points.


fontEmbedMode?

optional fontEmbedMode: FontEmbedMode

The font embedding mode. The default is "EmbedSubset".


pdfFontFormat?

optional pdfFontFormat: PdfFontFormat

The format used to represent fonts in the PDF document. The default is "Type0AutoOneByteEncoding".


standardFontEmbedMode?

optional standardFontEmbedMode: FontEmbedMode

The font embedding mode for the 14 standard PDF fonts. The default is "NotEmbed".