Shapes.AddChart(XlChartType, Object, Object, Object, Object, Object) Shapes.AddChart(XlChartType, Object, Object, Object, Object, Object) Method

Definition

This object, member, or enumeration is deprecated and is not intended to be used in your code.

public Microsoft.Office.Interop.Word.Shape AddChart (Microsoft.Office.Core.XlChartType Type = (Microsoft.Office.Core.XlChartType) -1, ref object Left, ref object Top, ref object Width, ref object Height, ref object Anchor);
Public Function AddChart (Optional Type As XlChartType = (Microsoft.Office.Core.XlChartType) -1, Optional ByRef Left As Object, Optional ByRef Top As Object, Optional ByRef Width As Object, Optional ByRef Height As Object, Optional ByRef Anchor As Object) As Shape
Parameters
Type
Microsoft.Office.Core.XlChartType Microsoft.Office.Core.XlChartType
Left
Object Object
Width
Object Object
Height
Object Object
Anchor
Object Object
Returns

Examples

Creates a new 3-D column chart and adds it to the active document.

Applies to