This documentation is archived and is not being maintained.

Diagram Interface 

Represents a diagram.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Public Class iagramImplementation
	Implements Diagram
End Class
Dim iagramImplementation1 As New iagramImplementation()

public interface Diagram
public interface Diagram
public interface Diagram

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.


Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show: