Table of Contents

Class CompatibilitySettings

Namespace
OfficeOpenXml.Compatibility
Assembly
EPPlus.dll

Settings to stay compatible with older versions of EPPlus

public class CompatibilitySettings
Inheritance
CompatibilitySettings
Inherited Members

Properties

IsWorksheets1Based

If the worksheets collection of the ExcelWorkbook class is 1 based. This property can be set from appsettings.json file.

{
  "EPPlus": {
    "ExcelPackage": {
      "Compatibility": {
        "IsWorksheets1Based": true //Default and recommended value is false
      }
    }
  }
}
public bool IsWorksheets1Based { get; set; }

Property Value

bool