Skip to content

Class CompatibilitySettings

Namespace: OfficeOpenXml.Compatibility
Assembly: EPPlus.dll

Settings to stay compatible with older versions of EPPlus

public class CompatibilitySettings

Inheritance

object ← CompatibilitySettings

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

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