# Load documents Document loading use cases with GroupDocs.Viewer within your .NET applications. To render documents, you must load them first. This section describes ways to load documents implemented in GroupDocs.Viewer. You can also define document loading options, such as a document type or a password for a password-protected document. To do this, use the constructor parameters and properties of the [LoadOptions](https://reference.groupdocs.com/viewer/net/groupdocs.viewer.options/loadoptions) class. ![A file on disk is passed to new Viewer(source, loadOptions) by its path; a document from a URL, an FTP server, Amazon S3 or Azure Blob Storage as a stream your code opens. LoadOptions set the file type, the password, the encoding and external resources. Then viewer.View renders the pages](https://docs.groupdocs.com/viewer/net/images/developer-guide/loading-documents/loading-documents.svg) For details, please refer to the following pages: ## Contents - [Load documents from different sources](https://docs.groupdocs.com/viewer/net/loading-documents-from-different-sources.md) - [Load password-protected documents](https://docs.groupdocs.com/viewer/net/load-password-protected-document.md) - [Specify file type when loading a document](https://docs.groupdocs.com/viewer/net/specify-file-type-when-loading-a-document.md) - [Specify encoding when loading documents](https://docs.groupdocs.com/viewer/net/specify-encoding-when-loading-documents.md) - [Loading of external resources containing by a document](https://docs.groupdocs.com/viewer/net/loading-external-resources.md)