Share via


Shapes.AddDiagram Method

Reserved for internal use.

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

Syntax

'Declaration
Function AddDiagram ( _
    Type As MsoDiagramType, _
    Left As Single, _
    Top As Single, _
    Width As Single, _
    Height As Single _
) As Shape
'Usage
Dim instance As Shapes
Dim Type As MsoDiagramType
Dim Left As Single
Dim Top As Single
Dim Width As Single
Dim Height As Single
Dim returnValue As Shape

returnValue = instance.AddDiagram(Type, _
    Left, Top, Width, Height)
Shape AddDiagram(
    MsoDiagramType Type,
    float Left,
    float Top,
    float Width,
    float Height
)

Parameters

Return Value

Type: Microsoft.Office.Interop.PowerPoint.Shape

See Also

Reference

Shapes Interface

Shapes Members

Microsoft.Office.Interop.PowerPoint Namespace