Table of Contents

Class ExcelPackageConfiguration

Namespace
OfficeOpenXml.Configuration
Assembly
EPPlus.dll

Parameters for configuring the ExcelPackage class before usage

public class ExcelPackageConfiguration
Inheritance
ExcelPackageConfiguration
Inherited Members

Constructors

ExcelPackageConfiguration()

public ExcelPackageConfiguration()

Properties

JsonConfigBasePath

Path of the directory where the json configuration file is located. Default value is the path returned from GetCurrentDirectory()

public string JsonConfigBasePath { get; set; }

Property Value

string

JsonConfigFileName

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

public string JsonConfigFileName { get; set; }

Property Value

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.

public bool SuppressInitializationExceptions { get; set; }

Property Value

bool

Methods

Reset()

Resets configuration to its default values

public void Reset()