CellsDataTableFactory.GetInstance
Contents
[
Hide
]GetInstance(int[], string[])
Creates ICellsDataTable from given sequence of int values.
public ICellsDataTable GetInstance(int[] vals, string[] columnNames)
Parameter | Type | Description |
---|---|---|
vals | Int32[] | int values to build table |
columnNames | String[] | Column names of the table. Its length can only be either 1(build table by the int values vertically) or length of the int values(build table by the int values horizontally) |
Return Value
Instance of ICellsDataTable
See Also
- interface ICellsDataTable
- class CellsDataTableFactory
- namespace Aspose.Cells
- assembly Aspose.Cells
GetInstance(int[], bool)
Creates ICellsDataTable from given sequence of int values.
public ICellsDataTable GetInstance(int[] vals, bool vertial)
Parameter | Type | Description |
---|---|---|
vals | Int32[] | int values to build table |
vertial | Boolean | whether build table by the int values vertiacally(true) or horizontally(false) |
Return Value
Instance of ICellsDataTable
See Also
- interface ICellsDataTable
- class CellsDataTableFactory
- namespace Aspose.Cells
- assembly Aspose.Cells
GetInstance(double[], string[])
Creates ICellsDataTable from given sequence of double values.
public ICellsDataTable GetInstance(double[] vals, string[] columnNames)
Parameter | Type | Description |
---|---|---|
vals | Double[] | double values to build table |
columnNames | String[] | Column names of the table. Its length can only be either 1(build table by the double values vertically) or length of the double values(build table by the double values horizontally) |
Return Value
Instance of ICellsDataTable
See Also
- interface ICellsDataTable
- class CellsDataTableFactory
- namespace Aspose.Cells
- assembly Aspose.Cells
GetInstance(double[], bool)
Creates ICellsDataTable from given sequence of double values.
public ICellsDataTable GetInstance(double[] vals, bool vertial)
Parameter | Type | Description |
---|---|---|
vals | Double[] | double values to build table |
vertial | Boolean | whether build table by the double values vertiacally(true) or horizontally(false) |
Return Value
Instance of ICellsDataTable
See Also
- interface ICellsDataTable
- class CellsDataTableFactory
- namespace Aspose.Cells
- assembly Aspose.Cells
GetInstance(object[], string[])
Creates ICellsDataTable from given sequence of objects.
public ICellsDataTable GetInstance(object[] vals, string[] columnNames)
Parameter | Type | Description |
---|---|---|
vals | Object[] | objects to build table |
columnNames | String[] | Column names of the table. Its length can only be either 1(build table by the objects vertically) or length of the objects(build table by the objects horizontally) |
Return Value
Instance of ICellsDataTable
See Also
- interface ICellsDataTable
- class CellsDataTableFactory
- namespace Aspose.Cells
- assembly Aspose.Cells
GetInstance(object[], bool)
Creates ICellsDataTable from given sequence of objects.
public ICellsDataTable GetInstance(object[] vals, bool vertial)
Parameter | Type | Description |
---|---|---|
vals | Object[] | objects to build table |
vertial | Boolean | whether build table by the objects vertiacally(true) or horizontally(false) |
Return Value
Instance of ICellsDataTable
See Also
- interface ICellsDataTable
- class CellsDataTableFactory
- namespace Aspose.Cells
- assembly Aspose.Cells
GetInstance(int[])
public ICellsDataTable GetInstance(int[] vals)
See Also
- interface ICellsDataTable
- class CellsDataTableFactory
- namespace Aspose.Cells
- assembly Aspose.Cells
GetInstance(double[])
public ICellsDataTable GetInstance(double[] vals)
See Also
- interface ICellsDataTable
- class CellsDataTableFactory
- namespace Aspose.Cells
- assembly Aspose.Cells
GetInstance(object[])
public ICellsDataTable GetInstance(object[] vals)
See Also
- interface ICellsDataTable
- class CellsDataTableFactory
- namespace Aspose.Cells
- assembly Aspose.Cells
GetInstance(ICollection)
Creates ICellsDataTable from given collection.
public ICellsDataTable GetInstance(ICollection collection)
Parameter | Type | Description |
---|---|---|
collection | ICollection | the collection to build table |
Return Value
Instance of ICellsDataTable
See Also
- interface ICellsDataTable
- class CellsDataTableFactory
- namespace Aspose.Cells
- assembly Aspose.Cells