LoadOptions
Leave feedback
On this page
Initializes a new instance of the LoadOptions class with empty Password, FileFormat equal to Unknown and default encodings.
public LoadOptions()
- class LoadOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Initializes a new instance of the LoadOptions class with timeout.
public LoadOptions(TimeSpan timeout)
| Parameter | Type | Description |
|---|---|---|
| timeout | TimeSpan | The TimeSpan that represents the number of milliseconds to wait. |
- class LoadOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Initializes a new instance of the LoadOptions class with FileFormat equal to Unknown and default encodings.
public LoadOptions(string password)
| Parameter | Type | Description |
|---|---|---|
| password | String | The password to open the password-protected file. |
- class LoadOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Initializes a new instance of the LoadOptions class with empty Password and default encodings.
public LoadOptions(FileFormat fileFormat)
| Parameter | Type | Description |
|---|---|---|
| fileFormat | FileFormat | The format of the file. |
- enum FileFormat
- class LoadOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Initializes a new instance of the LoadOptions class with the password and default encodings.
public LoadOptions(FileFormat fileFormat, string password)
| Parameter | Type | Description |
|---|---|---|
| fileFormat | FileFormat | The format of the file. |
| password | String | The password to open the password-protected file. |
- enum FileFormat
- class LoadOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Initializes a new instance of the LoadOptions class with custom encodings.
public LoadOptions(FileFormat fileFormat, string password, Encoding encoding,
Encoding defaultAnsiEncoding)
| Parameter | Type | Description |
|---|---|---|
| fileFormat | FileFormat | The format of the file. |
| password | String | The password to open the password-protected file. |
| encoding | Encoding | The encoding of the document. |
| defaultAnsiEncoding | Encoding | The default ANSI encoding which is used for encoding detection. |
- enum FileFormat
- class LoadOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Initializes a new instance of the LoadOptions fully customized class.
public LoadOptions(FileFormat fileFormat, string password, Encoding encoding,
Encoding defaultAnsiEncoding, TimeSpan timeout)
| Parameter | Type | Description |
|---|---|---|
| fileFormat | FileFormat | The format of the file. |
| password | String | The password to open the password-protected file. |
| encoding | Encoding | The encoding of the document. |
| defaultAnsiEncoding | Encoding | The default ANSI encoding which is used for encoding detection. |
| timeout | TimeSpan | The TimeSpan that represents the number of milliseconds to wait. |
- enum FileFormat
- class LoadOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Initializes a new instance of the LoadOptions class with empty Password and default encodings.
public LoadOptions(FileType fileType)
| Parameter | Type | Description |
|---|---|---|
| fileType | FileType | The type of the file. |
- class FileType
- class LoadOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Initializes a new instance of the LoadOptions class with the password and default encodings.
public LoadOptions(FileType fileType, string password)
| Parameter | Type | Description |
|---|---|---|
| fileType | FileType | The type of the file. |
| password | String | The password to open the password-protected file. |
- class FileType
- class LoadOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Initializes a new instance of the LoadOptions class with custom encodings.
public LoadOptions(FileType fileType, string password, Encoding encoding,
Encoding defaultAnsiEncoding)
| Parameter | Type | Description |
|---|---|---|
| fileType | FileType | The type of the file. |
| password | String | The password to open the password-protected file. |
| encoding | Encoding | The encoding of the document. |
| defaultAnsiEncoding | Encoding | The default ANSI encoding which is used for encoding detection. |
- class FileType
- class LoadOptions
- namespace GroupDocs.Parser.Options
- assembly GroupDocs.Parser
Initializes a new instance of the LoadOptions fully customized class.
public LoadOptions(FileType fileType, string password, Encoding encoding,
Encoding defaultAnsiEncoding, TimeSpan timeout)
| Parameter | Type | Description |
|---|---|---|
| fileType | FileType | The type of the file. |
| password | String | The password to open the password-protected file. |
| encoding | Encoding | The encoding of the document. |
| defaultAnsiEncoding | Encoding | The default ANSI encoding which is used for encoding detection. |
| timeout | TimeSpan | The TimeSpan that represents the number of milliseconds to wait. |
- class FileType
- class LoadOptions
- 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.