# PDFJSSettings Class

> PDF.js source locations used when loading a document with the PDF.js provider. Either `basePath` or both explicit source paths must be supplied.

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

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/#members)

---

## In This Section

- [Javascript: PDFJSSettings.basePath Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/basepath-property/llms.txt): Optional. Directory containing the PDF.js library and worker scripts.
- [Javascript: PDFJSSettings.librarySourcePath Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/librarysourcepath-property/llms.txt): Optional. URL of the PDF.js library script.
- [Javascript: PDFJSSettings.workerSourcePath Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/pdfjssettings/workersourcepath-property/llms.txt): Optional. URL of the PDF.js worker script.

---

## Nearby

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