Skip to content

Class EPPlusSaveOption

Namespace: OfficeOpenXml.Configuration
Assembly: EPPlus.dll

Options used when saving an ExcelPackage. Supplied via an action to the Save and SaveAs methods.

public class EPPlusSaveOption

Inheritance

object ← EPPlusSaveOption

Inherited Members

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

Constructors

EPPlusSaveOption()

public EPPlusSaveOption()

Properties

Password

The password to encrypt the workbook with. This overrides the Encryption.Password on the package. If null, the password set on the package is used.

public string Password { get; set; }

Property Value

string

SaveAsTemplate

If true, the package is saved as an Excel template (.xltx, or .xltm if the workbook contains a VBA project) instead of a standard workbook. Default is false.

public bool SaveAsTemplate { get; set; }

Property Value

bool