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
- XlChartType
Type: System.Object
- Left
Type: System.Object
- Top
Type: System.Object
- Width
Type: System.Object
- Height
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.Shape