CellsExportDataTable Method (Int32, Int32, Int32, Int32, ExportTableOptions)

Exports data in the Cells collection to a DataTable object.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public DataTable ExportDataTable(
	int firstRow,
	int firstColumn,
	int totalRows,
	int totalColumns,
	ExportTableOptions options
)

Parameters

firstRow
Type: SystemInt32
The row number of the first cell to export out.
firstColumn
Type: SystemInt32
The column number of the first cell to export out.
totalRows
Type: SystemInt32
Number of rows to be imported.
totalColumns
Type: SystemInt32
Number of columns to be imported.
options
Type: Aspose.CellsExportTableOptions
All export table options

Return Value

Type: DataTable
Exported DataTable object.
See Also