Contains the options related to loading a workbook from a file or stream.
Inheritance
Constructors
Section titled "Constructors"constructor
public WorkbookLoadOptions(IPackageFactory packageFactory = null) Returns WorkbookLoadOptions
constructor
public WorkbookLoadOptions(SecureString openPasswordSecure, IPackageFactory packageFactory = null, bool verifyExcel2007Xml = true) Returns WorkbookLoadOptions
constructor
public WorkbookLoadOptions(string openPassword, IPackageFactory packageFactory = null) Returns WorkbookLoadOptions
Properties
Section titled "Properties"PackageFactory
Section titled "PackageFactory"Inherited from: WorkbookOptionsBase
Gets or sets an IPackageFactory which can be used to create or open an IPackage in a stream.
public IPackageFactory PackageFactory { get; set; } AutoResumeCalculations
Section titled "AutoResumeCalculations"Returns or sets a boolean indicating whether the Workbook will automatically call its methods before the Load method returns.
public bool AutoResumeCalculations { get; set; } Culture
Section titled "Culture"Returns or sets the value for the property.
public CultureInfo Culture { get; set; } IsDuplicateFormulaParsingOptimized
Section titled "IsDuplicateFormulaParsingOptimized"Returns or sets a boolean indicating whether duplicate formulas parsed during the load will be optimized for faster loading of the workbook.
public bool IsDuplicateFormulaParsingOptimized { get; set; } OpenPassword
Section titled "OpenPassword"Gets or sets the password used to decrypt the document if it is encrypted.
public string OpenPassword { get; set; } OpenPasswordSecure
Section titled "OpenPasswordSecure"Gets or sets the password used to decrypt the document if it is encrypted.
public SecureString OpenPasswordSecure { get; set; } ScreenDpi
Section titled "ScreenDpi"Gets or sets the Dpi to use when calculating row and column sizes for the workbook. If empty, the system Dpi will be used.
public Size ScreenDpi { get; set; } UserDefinedFunctionLibraries
Section titled "UserDefinedFunctionLibraries"Returns a list of user defined function assemblies that should be registered before the workbook is loaded.
public IList<Assembly> UserDefinedFunctionLibraries { get; } UserDefinedFunctions
Section titled "UserDefinedFunctions"Returns a list of user defined functions that should be registered before the workbook is loaded.
public IList<ExcelCalcFunction> UserDefinedFunctions { get; }