Compartilhar via


IShapes.AddChart Method

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

Syntax

'Declaration
Function AddChart ( _
    XlChartType As Object, _
    Left As Object, _
    Top As Object, _
    Width As Object, _
    Height As Object _
) As Shape
'Usage
Dim instance As IShapes
Dim XlChartType As Object
Dim Left As Object
Dim Top As Object
Dim Width As Object
Dim Height As Object
Dim returnValue As Shape

returnValue = instance.AddChart(XlChartType, _
    Left, Top, Width, Height)
Shape AddChart(
    Object XlChartType,
    Object Left,
    Object Top,
    Object Width,
    Object Height
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.Shape

See Also

Reference

IShapes Interface

IShapes Members

Microsoft.Office.Interop.Excel Namespace