Show / Hide Table of Contents

Class ExcelPackageConfiguration

Parameters for configuring the ExcelPackage class before usage

Inheritance
System.Object
ExcelPackageConfiguration
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Configuration
Assembly: EPPlus.dll
Syntax
public class ExcelPackageConfiguration

Properties

JsonConfigBasePath

Path of the directory where the json configuration file is located. Default value is the path returned from System.IO.Directory.GetCurrentDirectory

Declaration
public string JsonConfigBasePath { get; set; }
Property Value
Type Description
System.String

JsonConfigFileName

File name of the json configuration file. Default value is appsettings.json

Declaration
public string JsonConfigFileName { get; set; }
Property Value
Type Description
System.String

SuppressInitializationExceptions

If set to true errors/exceptions that occurs during initialization of the ExcelPackage class will be suppressed and logged in InitializationErrors.

If set to false these Exceptions will be rethrown.

Default value of this property is false.

Declaration
public bool SuppressInitializationExceptions { get; set; }
Property Value
Type Description
System.Boolean

Methods

Reset()

Resets configuration to its default values

Declaration
public void Reset()
In This Article
  • Properties
    • JsonConfigBasePath
    • JsonConfigFileName
    • SuppressInitializationExceptions
  • Methods
    • Reset()
Back to top Generated by DocFX