Diagram Interface

Represents a diagram.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("0002446F-0000-0000-C000-000000000046")> _
Public Interface Diagram
'Usage
Dim instance As Diagram
[InterfaceTypeAttribute()]
[GuidAttribute("0002446F-0000-0000-C000-000000000046")]
public interface Diagram

Remarks

Use the Diagram property of the Shape object or ShapeRange collection to a return a Diagram object.

You can also convert the current diagram to a different diagram by using the Convert method.

Note If the current diagram is an organization chart (msoDiagramOrgChart) a run-time error will occur.

There are several types of diagrams to choose from when working with the Diagram object. Refer to the AddDiagram method to view a list of available diagram types.

See Also

Reference

Diagram Members

Microsoft.Office.Interop.Excel Namespace