LoadOptions
Leave feedback
On this page
Provides the options which are used to open a file.
public sealed class LoadOptions
| Name | Description |
|---|---|
| LoadOptions() | Initializes a new instance of the LoadOptions class with empty Password, FileFormat equal to Unknown and default encodings. |
| LoadOptions(FileFormat) | Initializes a new instance of the LoadOptions class with empty Password and default encodings. |
| LoadOptions(FileType) | Initializes a new instance of the LoadOptions class with empty Password and default encodings. |
| LoadOptions(string) | Initializes a new instance of the LoadOptions class with FileFormat equal to Unknown and default encodings. |
| LoadOptions(TimeSpan) | Initializes a new instance of the LoadOptions class with timeout. |
| LoadOptions(FileFormat, string) | Initializes a new instance of the LoadOptions class with the password and default encodings. |
| LoadOptions(FileType, string) | Initializes a new instance of the LoadOptions class with the password and default encodings. |
| LoadOptions(FileFormat, string, Encoding, Encoding) | Initializes a new instance of the LoadOptions class with custom encodings. |
| LoadOptions(FileType, string, Encoding, Encoding) | Initializes a new instance of the LoadOptions class with custom encodings. |
| LoadOptions(FileFormat, string, Encoding, Encoding, TimeSpan) | Initializes a new instance of the LoadOptions fully customized class. |
| LoadOptions(FileType, string, Encoding, Encoding, TimeSpan) | Initializes a new instance of the LoadOptions fully customized class. |
| Name | Description |
|---|---|
| DefaultAnsiEncoding { get; } | Gets the default ANSI encoding which is used for encoding detection. |
| Encoding { get; } | Gets the encoding of the document. |
| FileFormat { get; } | Gets the file format. |
| FileType { get; } | Gets the file type. |
| Password { get; } | Gets the password. |
| Timeout { get; } | Gets the value that represents the number of milliseconds to wait. |
An instance of this class is used as parameter in Parser class constructors:
See the usage examples there.
Learn more:
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.