Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a diagram.
public interface class Diagram
[System.Runtime.InteropServices.Guid("0002446F-0000-0000-C000-000000000046")] [System.Runtime.InteropServices.InterfaceType(2)] public interface Diagram
Public Interface Diagram
You can also convert the current diagram to a different diagram by using the Convert(MsoDiagramType) 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(MsoDiagramType, Single, Single, Single, Single) method to view a list of available diagram types.
Returns an Application object that represents the Microsoft Excel application.
Sets or returns a constant indicating the automatic formatting state for a diagram.
Returns or sets a constant which determines the automatic positioning of the nodes and connectors in a diagram.
Returns a 32-bit integer that indicates the application in which this object was created.
Returns a DiagramNodes object that contains a flat list of all the nodes in the specified diagram.
Returns the parent object for the specified object.
Reverses the nodes in a diagram.
Returns or sets the diagram type.
Converts the current diagram to a different diagram.
Adjusts the size of the text in the nodes in a diagram to fit within the boundaries of the nodes.