ExcelWorksheet MembersGemBox.Spreadsheet Help

The ExcelWorksheet type exposes the following members.
Methods

  NameDescription
Public methodCalculateMaxUsedColumns
Iterates all rows and finds maximum number of used columns.
Public methodClear
Clears this worksheet.
Public methodCreateDataTable(ColumnTypeResolution)Obsolete.
Extracts data from used cells of this worksheet to a new DataTable. DataTable column type is determined by the ColumnTypeResolution.
Public methodCreateDataTable(CreateDataTableOptions)
Creates a DataTable and fills it with data from this ExcelWorksheet in a manner specified by create options, see CreateDataTableOptions.
Public methodCreateDataTable(CellRange, ColumnTypeResolution, ExtractDataOptions, Boolean)Obsolete.
Extracts data from specified range of cells to a new DataTable.
Public methodCreateDataTable(ColumnTypeResolution, ExcelRow, Int32, ExtractDataOptions,  ExcelColumn )Obsolete.
Extracts data from specified cells to a new DataTable.
Public methodCreateDataTable(ColumnTypeResolution, ExcelRow, Int32, ExtractDataOptions, IEnumerable ExcelColumn )Obsolete.
Extracts data from specified cells to a new DataTable.
Public methodCreateDataTable(ColumnTypeResolution, ExcelRow, Int32, ExtractDataOptions, Boolean,  ExcelColumn )Obsolete.
Extracts data from specified cells to a new DataTable.
Public methodCreateDataTable(ColumnTypeResolution, ExcelRow, Int32, ExtractDataOptions, Boolean, IEnumerable ExcelColumn )Obsolete.
Extracts data from specified cells to a new DataTable.
Public methodDelete
Deletes this worksheet from the workbook.
Public methodExtractToDataTable(DataTable, ExtractToDataTableOptions)
Extracts data to DataTable with specified extract options, see ExtractToDataTableOptions.
Public methodExtractToDataTable(DataTable, Int32, ExtractDataOptions, ExcelRow, ExcelColumn)Obsolete.
Extracts data to DataTable with the same column order as it is in ExcelWorksheet.
Public methodExtractToDataTable(DataTable, Int32, ExtractDataOptions, DataColumnMappingCollection, ExcelRow)Obsolete.
Extracts data to DataTable with column mapping.
Public methodExtractUsedRangeToDataTableObsolete.
Extracts data from used cells of this worksheet to a new DataTable with columns of type object.
Public methodGetUsedCellRange Obsolete.
Calculates cell range that is used in the worksheet (every allocated cell is considered used).
Public methodGetUsedCellRange(Boolean)
Calculates cell range that is used in the worksheet.
Public methodInsertCopy
Inserts a copy of an existing worksheet before the current worksheet.
Public methodInsertDataTable(DataTable)
Inserts a DataTable into the current worksheet.
Public methodInsertDataTable(DataTable, InsertDataTableOptions)
Inserts a DataTable into the current worksheet.
Public methodInsertDataTable(DataTable, String, Boolean)Obsolete.
Inserts a DataTable at the specified position in the current worksheet.
Public methodInsertDataTable(DataTable, Int32, Int32, Boolean)Obsolete.
Inserts a DataTable at the specified row and column in the current worksheet.
Public methodInsertEmpty
Inserts an empty worksheet before the current worksheet.
Back to Top
Properties

  NameDescription
Public propertyCells
Gets CellRange with all the cells (ExcelCell) in the worksheet.
Public propertyColumns
Gets collection of all columns (ExcelColumn) in the worksheet.
Public propertyDataValidations
Gets the collection that expresses all data validation information for cells in a sheet which have data validation features applied. Supported in XLSX only.
Public propertyDefaultColumnWidth
Gets or sets default column width.
Public propertyHasHeadersFooters
Returns true if worksheet has headers/footers.
Public propertyHasSplitOrFreezePanes
Returns true if worksheet has split or freeze panes.
Public propertyHeadersFooters
Gets or sets headers/footers for the sheet.
Public propertyHorizontalPageBreaks
Gets collection of all horizontal page breaks (HorizontalPageBreak) in the worksheet.
Public propertyHyperlinks
Gets hyperlinks in this sheet.
Public propertyName
Gets or sets worksheet name.
Public propertyNamedRanges
Gets NamedRangeCollection containing descriptive names which are used to represent cells, ranges of cells, formulas, or constant values.
Public propertyPanes
Gets or sets the panes in the worksheet.
Public propertyPasswordHashObsolete.
Gets or sets the password hash for protected sheet.
Public propertyPictures
Gets ExcelPictureCollection containing images.
Public propertyPrintOptions
Contains MS Excel print and print related options.
Public propertyProtected
Gets or sets the worksheet protection flag.
Public propertyProtectionSettings
Gets or sets worksheet protection properties. This settings will be used only if Protected is set to  ; Otherwise it will be ignored. Supported in XLSX only.
Public propertyRows
Gets collection of all rows (ExcelRow) in the worksheet.
Public propertyVerticalPageBreaks
Gets collection of all vertical page breaks (VerticalPageBreak) in the worksheet.
Public propertyViewOptions
Contains MS Excel display and view related options.
Public propertyVisibility
Gets or sets the worksheet visible property.
Back to Top
Events

  NameDescription
Public eventExtractDataEventObsolete.
Event that fires when specific error occurs while extracting data to DataTable.
Back to Top
See Also