LoadOptions
Overview
LoadOptions is a class in Aspose.Cells FOSS for .NET.
Specifies how a workbook should be loaded. var workbook = new Workbook(“input.xlsx”, new LoadOptions { StrictMode = false, TryRepairPackage = true, TryRepairXml = true, });
Properties: LoadFormat, PreserveUnsupportedParts, StrictMode, TryRepairPackage, TryRepairXml, WarningCallback.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
LoadFormat | LoadFormat | Read/Write | Gets or sets the load format. |
StrictMode | bool | Read/Write | Gets or sets the strict mode. |
TryRepairPackage | bool | Read/Write | Gets or sets the try repair package. |
TryRepairXml | bool | Read/Write | Gets or sets the try repair xml. |
PreserveUnsupportedParts | bool | Read/Write | Gets or sets the preserve unsupported parts. |
WarningCallback | IWarningCallback | Read/Write | Gets or sets the warning callback. |