Skip to main content
Version: Version 5

Interface: PdfToolsWebSdkOptions

Options to initialize the Pdftools PDF Web SDK

Properties

licenseId?

optional licenseId: number


licenseKey?

optional licenseKey: `<VIEWWEB,V5,${string}>`

Pass the license key to activate the product. An empty string may be passed to use a default license which will watermark all pages.

Default Value

''


licenseUrl?

optional licenseUrl: string

Url to the License Gateway url


logLevel?

optional logLevel: LogLevel

The log level used by the Pdftools PDF Web SDK

Default

LogLevel.ERROR

logger?

optional logger: ILogger

Logger class. Must implement ILogger

Default Value

window.console


path?

optional path: string

Path where all Pdftools PDF Web SDK resources are located.

Default Value

'./pdftools-web-sdk/'


producerSuffix?

optional producerSuffix: string

Producer suffix used in the PDF document

Default

'Pdftools'