aspose.diagram
Class DataColumnCollection

DataColumn collection.

Property Getters/Setters Summary
functiongetCount()
           Gets the number of elements actually contained in the collection.
functiongetSortAsc()
functionsetSortAsc(value)
           Whether to sort the SortColumn column in ascending (1) or descending (0) order. The value of the property is BOOL integer constant.
functiongetSortColumn()
functionsetSortColumn(value)
           The column on which to sort the data.
functionget(index)
           Gets the element at the specified index.
 
Method Summary
functionadd(dataColumn)
           Add the dataColumn in the collection.
functionclear()→ inherited from Collection
           Removes all elements from collection.
functionisExist(index)→ inherited from Collection
           Is exist item in the collection.
functioniterator()→ inherited from Collection
           Supports a simple iteration over a nongeneric collection.
functionremove(dataColumn)
           Remove the dataColumn from the collection.
 

Property Getters/Setters Detail

getSortColumn/setSortColumn : String 

function getSortColumn() / function setSortColumn(value)
The column on which to sort the data.

getSortAsc/setSortAsc : Number 

function getSortAsc() / function setSortAsc(value)
Whether to sort the SortColumn column in ascending (1) or descending (0) order. The value of the property is BOOL integer constant.

getCount : Number 

function getCount()
Gets the number of elements actually contained in the collection.

get : DataColumn 

function get(index)
Gets the element at the specified index.
Parameters:
index -
Returns:

Method Detail

add

function add(dataColumn)
Add the dataColumn in the collection.
Parameters:
dataColumn: DataColumn -
Returns:

remove

function remove(dataColumn)
Remove the dataColumn from the collection.
Parameters:
dataColumn: DataColumn -

iterator

function iterator()
Supports a simple iteration over a nongeneric collection.
Returns:

isExist

function isExist(index)
Is exist item in the collection.
Parameters:
index: Number - index of element.
Returns:

clear

function clear()
Removes all elements from collection.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.