Share via


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()

Syntax

Public Interface Diagram
public interface Diagram
public interface class Diagram
public interface Diagram
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.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Excel Namespace

Other Resources

Diagram Members