ChartCategoryCollection Class

Represents collection of ChartCategory
Inheritance Hierarchy
SystemObject
  Aspose.Slides.ChartsChartCategoryCollection

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public class ChartCategoryCollection : IChartCategoryCollection, 
	IGenericCollection<IChartCategory>, IEnumerable<IChartCategory>, IEnumerable, 
	ICollection

The ChartCategoryCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Returns a number of elements int the collection. Read-only Int32.
Public propertyGroupingLevelCount
Returns count of category grouping levels used. Is more then one for multilevel categories. Read-only Int32.
Public propertyIsSynchronized
Returns a value indicating whether access to the List is synchronized (thread safe). Read-only Boolean.
Public propertyItem
Gets the element at the specified index.
Public propertySyncRoot
Returns an object that can be used to synchronize access to the collection. Read-only Object.
Public propertyUseCells
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.
Methods
  NameDescription
Public methodAdd(Object)
Creates new ChartCategory from value and adds it to the collection.
Public methodAdd(IChartDataCell)
If category exists in collection, return it. Else creates new chart category from IChartDataCell and adds it to the collection.
Public methodClear
Removes all elements from the collection.
Public methodCopyTo
Copies all elements of the collection to the specified array.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf
Searches for the specified ChartCategory and returns the zero-based index of the first occurrence within the entire Collection.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove
Removes the specified value.
Public methodRemoveAt
Removes the element at the given index.
Public methodToString (Inherited from Object.)
See Also