# Loading Documents

> Load documents into the Document Viewer: DocumentPath and DocumentData in the view, loadDocument from JavaScript, load settings for comments and PDF.js.

- **Product:** TX Text Control .NET Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET Server > Document Viewer > Loading Documents
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/llms-full.txt

---

## On This Page

- [Ways to Load a Document](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/#ways-to-load-a-document)
- [Pass a Document From the Controller](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/#pass-a-document-from-the-controller)
- [Load a Document at Run Time](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/#load-a-document-at-run-time)
- [Load Comments of the Document](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/#load-comments-of-the-document)
- [Load PDF Documents With PDF.js](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/#load-pdf-documents-with-pdf-js)
- [Large Documents](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/#large-documents)
- [Other Frontends](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/#other-frontends)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/loading/#next-steps)

---

## Nearby

- **Previous:** [Architecture](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/architecture/llms.txt)
- **Next:** [Saving Documents](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/saving/llms.txt)
