Share via


ChartSheet Class (2007 System)

A ChartSheet host item is a worksheet in Excel that contains only a chart and exposes events.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class ChartSheet _
    Inherits EntryPointBindableComponentBase _
    Implements ISupportInitializeControl, ISupportInitialize
'Usage
Dim instance As ChartSheet
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class ChartSheet : EntryPointBindableComponentBase, ISupportInitializeControl, 
    ISupportInitialize
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class ChartSheet : public EntryPointBindableComponentBase, 
    ISupportInitializeControl, ISupportInitialize
public class ChartSheet extends EntryPointBindableComponentBase implements ISupportInitializeControl, ISupportInitialize

Remarks

A ChartSheet represents a chart sheet; that is, a worksheet that contains only a chart. If you want to create an embedded chart in a worksheet that also contains other items, such as cells or other controls, create a Chart instead.

A ChartSheet provides all the chart-related features of a native Chart object in the Excel object model. However, a ChartSheet also exposes events. You can create ChartSheet objects only in a document-level project at design time. For more information, see ChartSheet Host Item.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Office.RemoteComponent
    Microsoft.VisualStudio.Tools.Office.EntryPointComponentBase
      Microsoft.VisualStudio.Tools.Office.EntryPointBindableComponentBase
        Microsoft.Office.Tools.Excel.ChartSheet

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ChartSheet Members

Microsoft.Office.Tools.Excel Namespace

Other Resources

Host Items and Host Controls Overview

ChartSheet Host Item