ChartView Interface

Represents a view of a chart.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

[GuidAttribute("00024488-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface ChartView

The ChartView object is one of the objects that can be returned by the SheetViews collection, similar to the Sheets collection. The ChartView object applies only to chart sheets.

The following example returns a ChartView object.

ActiveWindow.SheetViews.Item(1)  
































































































































The following example returns a _Chart object.

ActiveWindow.SheetViews.Item(1).Sheet  
































































































































Show: