Click or drag to resize

ExcelDocument Class

Excel document contains Worksheet collection and workbook related properties and methods.
Inheritance Hierarchy
SystemObject
  SautinSoft.ExcelExcelDocument

Namespace: SautinSoft.Excel
Assembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.2.6
Syntax
public sealed class ExcelDocument

The ExcelDocument type exposes the following members.

Constructors
 NameDescription
Public methodExcelDocument Initializes a new instance of the ExcelDocument class.
Top
Properties
 NameDescription
Public propertyDefaultFontName Gets or sets name of the default font used in the workbook.
Public propertyDefaultFontSize Gets or sets default font size.
Public propertyPivotTableCollection Collection of PivotTable.
Public propertyProtected Gets or sets the workbook protection flag.
Public propertyWorksheets Collection of all ExcelWorksheets in a workbook.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberLoad(Stream, LoadOptions) Loads a document from the specified stream.
Public methodStatic memberLoad(String, LoadOptions) Loads a document from a file with the specified path.
Public methodSave(Stream, SaveOptions) Saves the document in the specified stream.
Public methodSave(String, SaveOptions) Saves the document to a file with the specified path.
Public methodStatic memberSetLicense
Activate your copy after purchasing or use temporary license for delete trial message. ATTENTION: specify this property first of all before creating the instance of ExcelDocument!

Use it when you got own license. We offer two license types:

Permanent license from sautinsoft.com and

Temporary license from https://sautinsoft.com/start-for-free/.

Have question? Ask us: support@sautinsoft.com.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also