# Javascript: PDFJSSettings.librarySourcePath Property

> Optional. URL of the PDF.js library script.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 32.2.1
- **Path:** TX Text Control .NET Server > Reference > JavaScript API - Document Viewer > Javascript: PDFJSSettings.librarySourcePath Property
- **152 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/librarysourcepath-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/librarysourcepath-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/librarysourcepath-property/llms-full.txt

---

### Description

Optional. URL of the PDF.js library script.

### Syntax

```javascript
<string> PDFJSSettings.librarySourcePath
```

### Examples

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

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

---

## Nearby

- **Previous:** [Javascript: PDFJSSettings.basePath Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/basepath-property/llms-full.txt)
- **Next:** [Javascript: PDFJSSettings.workerSourcePath Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/workersourcepath-property/llms-full.txt)
