|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IChartCategoryCollection
Represents collection of IChartCategory
Method Summary | |
---|---|
IChartCategory |
add(IChartDataCell chartDataCell)
If category exists in collection, return it. |
IChartCategory |
add(java.lang.Object value)
Creates new IChartCategory from value and adds it to the collection. |
void |
clear()
Removes all elements from the collection. |
IChartCategory |
get_Item(int index)
Gets the element at the specified index. |
int |
getGroupingLevelCount()
Returns count of category grouping levels used. |
boolean |
getUseCells()
If true then worksheet is used for storing categories (this case supports a multi-level categories). |
int |
indexOf(IChartCategory value)
Searches for the specified IChartCategory and returns the zero-based index of the first occurrence within the entire Collection |
void |
remove(IChartCategory value)
Removes the specified value. |
void |
removeAt(int index)
Removes the element at the given index. |
void |
setUseCells(boolean value)
If true then worksheet is used for storing categories (this case supports a multi-level categories). |
Methods inherited from interface com.aspose.slides.IGenericCollection |
---|
copyTo, getSyncRoot, isSynchronized, size |
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable |
---|
iterator |
Method Detail |
---|
IChartCategory get_Item(int index)
Gets the element at the specified index.
T:System.ArgumentOutOfRangeException
- index
is not a valid index in the T:System.Collections.IList
.boolean getUseCells()
If true then worksheet is used for storing categories (this case supports a multi-level categories).
If false then worksheet is NOT used for storing values (and this case doesn't support a
multi-level categories).
Read/write boolean
.
void setUseCells(boolean value)
If true then worksheet is used for storing categories (this case supports a multi-level categories).
If false then worksheet is NOT used for storing values (and this case doesn't support a
multi-level categories).
Read/write boolean
.
int getGroupingLevelCount()
Returns count of category grouping levels used.
Is more then one for multilevel categories.
Read-only int
.
IChartCategory add(IChartDataCell chartDataCell)
If category exists in collection, return it. Else creates new chart category from
IChartDataCell
and adds it to the collection.
chartDataCell
- Cell used to create chart category.
IChartCategory add(java.lang.Object value)
Creates new IChartCategory
from value and adds it to the collection.
value
- The value.
IChartCategory
.
IChartDataWorkbook
to add or edit cell values, be sure that you do not use this worksheet
Maximum number of values added using this method must not exceed 16711680
System.InvalidOperationException
- if limit exceededint indexOf(IChartCategory value)
Searches for the specified IChartCategory
and returns the zero-based index of the first occurrence within the entire Collection
value
- Chart category.
void removeAt(int index)
Removes the element at the given index.
index
- Index of a category to remove.void remove(IChartCategory value)
Removes the specified value.
value
- The value.
System.ArgumentException
- The value parameter was not found in the collection.void clear()
Removes all elements from the collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |