Class ChartCollection
Contents
[
Hide
]ChartCollection class
Encapsulates a collection of Chart
objects.
public class ChartCollection : CollectionBase<Chart>
Properties
Name | Description |
---|---|
Capacity { get; set; } | |
Count { get; } | |
Item { get; } | Gets the Chart element at the specified index. (2 indexers) |
Item { get; set; } |
Methods
Name | Description |
---|---|
Add(ChartType, int, int, int, int) | Adds a chart to the collection. |
Add(ChartType, string, int, int, int, int) | (Obsolete.) Adds a chart to the collection. |
Add(byte[], string, bool, int, int, int, int) | Adds a chart with preset template. |
Add(ChartType, string, bool, int, int, int, int) | Adds a chart to the collection. |
AddFloatingChart(ChartType, int, int, int, int) | Adds a chart to the collection. |
BinarySearch(Chart) | |
BinarySearch(Chart, IComparer<Chart>) | |
BinarySearch(int, int, Chart, IComparer<Chart>) | |
Clear() | Clear all charts. (2 methods) |
Contains(Chart) | |
CopyTo(Chart[]) | |
CopyTo(Chart[], int) | |
CopyTo(int, Chart[], int, int) | |
Exists(Predicate<Chart>) | |
Find(Predicate<Chart>) | |
FindAll(Predicate<Chart>) | |
FindIndex(Predicate<Chart>) | |
FindIndex(int, Predicate<Chart>) | |
FindIndex(int, int, Predicate<Chart>) | |
FindLast(Predicate<Chart>) | |
FindLastIndex(Predicate<Chart>) | |
FindLastIndex(int, Predicate<Chart>) | |
FindLastIndex(int, int, Predicate<Chart>) | |
GetEnumerator() | |
IndexOf(Chart) | |
IndexOf(Chart, int) | |
IndexOf(Chart, int, int) | |
LastIndexOf(Chart) | |
LastIndexOf(Chart, int) | |
LastIndexOf(Chart, int, int) | |
RemoveAt(int) | Remove a chart at the specific index. (2 methods) |
Examples
[C#]
Workbook workbook = new Workbook();
ChartCollection charts = workbook.Worksheets[0].Charts;
[Visual Basic]
Dim workbook as Workbook = new Workbook()
Dim ChartCollection as Charts = workbook.Worksheets(0).Charts
See Also
- class CollectionBase<T>
- class Chart
- namespace Aspose.Cells.Charts
- assembly Aspose.Cells