Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

ChartSheetCollection Members

A collection of ChartSheet objects contained in a workbook.

Properties

Name Description
ActiveChartSheet Gets or sets the currently active chart sheet within a workbook.
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
Item[String] Gets a chart sheet by its name.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
Add() Creates a new chart sheet and appends it to the end of the collection.
Add(ChartType, Range) Creates a new chart sheet with the specified chart and appends it to the end of the collection.
Add(ChartType) Creates a new chart sheet of the specified type and appends it to the end of the collection.
Add(String, ChartType, Range) Creates a new chart sheet under the specified name with the specified chart and appends it to the end of the collection.
Add(String, ChartType) Creates a new chart sheet of the specified type and under the specified name and appends it to the end of the collection.
Add(String) Creates a new chart sheet under the specified name and appends it to the end of the collection.
Contains(ChartSheet) Determines whether the collection contains the specified chart sheet.
Contains(String) Determines whether the collection contains a chart sheet under the specified name.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
IndexOf(ChartSheet) Returns the zero-based index of the specified chart sheet in the collection.
Insert(Int32, ChartType, Range) Creates a new chart sheet with the specified chart and appends it to the collection at the specified position.
Insert(Int32, ChartType) Creates a new chart sheet of the specified type and appends it to the collection at the specified position.
Insert(Int32, String, ChartType, Range) Creates a new chart sheet under the specified name with the specified chart and appends it to the collection at the specified position.
Insert(Int32, String, ChartType) Creates a new chart sheet of the specified type and under the specified name and appends it to the collection at the specified position.
Insert(Int32, String) Creates a new chart sheet under the specified name and appends it to the collection at the specified position.
Insert(Int32) Creates a new chart sheet and appends it to the collection at the specified position.
Remove(ChartSheet) Removes the specified chart sheet from the collection.
RemoveAt(Int32) Removes the chart sheet at the specified position from the collection.
See Also