ChartCollection
Innehåll
[
Dölj
]ChartCollection class
Kapslar in en samling avChart
objekt.
public class ChartCollection : CollectionBase<Chart>
Egenskaper
namn | Beskrivning |
---|---|
Capacity { get; set; } | |
Count { get; } | |
Item { get; } | FårChart element vid angivet index. (2 indexers) |
Item { get; set; } |
Metoder
namn | Beskrivning |
---|---|
Add(ChartType, int, int, int, int) | Lägger till ett diagram i samlingen. |
Add(ChartType, string, bool, int, int, int, int) | Lägger till ett diagram i samlingen. |
AddFloatingChart(ChartType, int, int, int, int) | Lägger till ett diagram i samlingen. |
BinarySearch(Chart) | |
BinarySearch(Chart, IComparer<Chart>) | |
BinarySearch(int, int, Chart, IComparer<Chart>) | |
Clear() | Rensa alla diagram. (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) | Ta bort ett diagram vid det specifika indexet. (2 methods) |
Exempel
[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
Se även
- class CollectionBase<T>
- class Chart
- namnutrymme Aspose.Cells.Charts
- hopsättning Aspose.Cells