DS Server

Javascript: PDFJSSettings.librarySourcePath Property

Property|Introduced in 32.2.1

Description

Optional. URL of the PDF.js library script.

Syntax

<string> PDFJSSettings.librarySourcePath

Examples

The following example demonstrates pdfjssettings.librarySourcePath in a practical Document Viewer workflow. Specifies the libraray source path.

const pdfjsSettings = {
    librarySourcePath: "/lib/pdfjs/pdf.min.js"
};
console.log("library source path:", pdfjsSettings.librarySourcePath);