편집

다음을 통해 공유


Diagram Interface

Definition

Represents a single diagram in a document.

public interface class Diagram
[System.Runtime.InteropServices.Guid("000209EC-0000-0000-C000-000000000046")]
public interface Diagram
type Diagram = interface
Public Interface Diagram
Attributes

Remarks

The Diagram object is a member of the Shapes collection.

Use the Diagram property of the DiagramNode, Shape, and ShapeRange objects to return a single Diagram object. Use the Convert(MsoDiagramType) method to change a diagram from one type to another.

Use the Reverse property to flip the order of the nodes in a diagram.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

AutoFormat

Sets or returns a MsoTriState constant specifying the automatic formatting state for a diagram.

AutoLayout

Returns or sets an MsoTriState constant that determines the automatic positioning of the nodes and connectors in a diagram.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Nodes

Returns a DiagramNodes object that represents the nodes in a diagram.

Parent

Returns an object that represents the parent object of the specified object.

Reverse

MsoTrue reverses the nodes in a diagram.

Type

Returns the diagram type.

Methods

Convert(MsoDiagramType)

Converts a diagram of one type into a diagram of another type.

FitText()

Adjusts the size of the text in the nodes in a diagram to fit within the boundaries of the nodes.

Applies to