LoadOptions
Leave feedback
On this page
Provides options for the document loading.
public sealed class LoadOptions : ILoadOptions, IResourceLoadingOptions
| Name | Description |
|---|---|
| LoadOptions(FileType) | Initializes new instance of LoadOptions class. |
| LoadOptions(string) | Initializes new instance of LoadOptions class. |
| LoadOptions(FileType, FileType) | Initializes new instance of LoadOptions class. |
| LoadOptions(FileType, string) | Initializes new instance of LoadOptions class. |
| LoadOptions(string, Encoding) | Initializes new instance of LoadOptions class. |
| LoadOptions(FileType, FileType, string) | Initializes new instance of LoadOptions class. |
| LoadOptions(FileType, string, Encoding) | Initializes new instance of LoadOptions class. |
| LoadOptions(FileType, FileType, string, Encoding) | Initializes new instance of LoadOptions class. |
| LoadOptions(string, FileType, string, Encoding) | Initializes new instance of LoadOptions class. |
| Name | Description |
|---|---|
| Encoding { get; } | The encoding used when opening text-based files such as CSV or TXT. Default value is Default. |
| Extension { get; } | The extension of the file to init. |
| ExternalResourceHandler { get; set; } | Handler that is called for every external resource before it is loaded and can allow, skip or replace it. Default value is null. |
| Password { get; } | The password for opening password-protected file. |
| SkipExternalResources { get; set; } | If true, no external resource is loaded except those matching WhitelistedResources or allowed by ExternalResourceHandler. Default value is true. |
| Type { get; } | The type of the file to load. |
| WhitelistedResources { get; set; } | Absolute URI prefixes of external resources that are loaded while SkipExternalResources is true. |
- interface ILoadOptions
- interface IResourceLoadingOptions
- namespace GroupDocs.Merger.Domain.Options
- assembly GroupDocs.Merger
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.