ExcelPackage Members

Office Open XML

The ExcelPackage type exposes the following members.

Constructors

  NameDescription
ExcelPackageOverloaded.

Methods

  NameDescription
Dispose
Closes the package.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetAsByteArrayOverloaded.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
LoadOverloaded.
SaveOverloaded.
SaveAsOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
MaxColumns
Maximum number of columns in a worksheet (16384).
MaxRows
Maximum number of rows in a worksheet (1048576).

Properties

  NameDescription
Compression
Compression option for the package
DoAdjustDrawings
Automaticlly adjust drawing size when column width/row height are adjusted, depending on the drawings editBy property. Default True
Encryption
Information how and if the package is encrypted
File
The output file. Null if no file is used
Package
Returns a reference to the package
Stream
The output stream. This stream is the not the encrypted package. To get the encrypted package use the SaveAs(stream) method.
Workbook
Returns a reference to the workbook component within the package. All worksheets and cells can be accessed through the workbook.

See Also