LoadOptions class
LoadOptions class
Specifies additional options for loading a document, such as an explicit file format or a password for encrypted files.
By default, the library detects the file format automatically from the file extension or content. Use this class when you need to override automatic detection (for example, when loading from a stream without a file name) or when the document is password‑protected.
The LoadOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the LoadOptions class with automatic format detection. |
| init | Initializes a new instance of the LoadOptions class with an explicit file format. |
Properties
| Property | Description |
|---|---|
| file_format | The file format of the document to load. |
| password | The password used to open an encrypted document. |
See Also
- module
groupdocs.markdown