編輯

共用方式為


ShapeNodes Interface

Definition

A collection of all the ShapeNode objects in the specified freeform.

public interface class ShapeNodes : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000209CE-0000-0000-C000-000000000046")]
public interface ShapeNodes : System.Collections.IEnumerable
type ShapeNodes = interface
    interface IEnumerable
Public Interface ShapeNodes
Implements IEnumerable
Attributes
Implements

Remarks

Each ShapeNode object represents either a node between segments in a freeform or a control point for a curved segment of a freeform. You can create a freeform manually or by using the BuildFreeform(MsoEditingType, Single, Single) and ConvertToShape() methods.

Use the Nodes property to return the ShapeNodes collection.

Use the Insert(Int32, MsoSegmentType, MsoEditingType, Single, Single, Single, Single, Single, Single) method to create a new node and add it to the ShapeNodes collection.

Use Nodes(index), where index is the node index number, to return a single ShapeNode object.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Count

Returns the number of items in the specified collection.

Creator

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

Item[Object]

Returns an individual object in a collection.

Parent

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

Methods

Delete(Int32)

Deletes the specified object.

GetEnumerator()
Insert(Int32, MsoSegmentType, MsoEditingType, Single, Single, Single, Single, Single, Single)

Inserts a node into a freeform shape.

SetEditingType(Int32, MsoEditingType)

Sets the editing type of the specified node.

SetPosition(Int32, Single, Single)

Sets the location of the specified node.

SetSegmentType(Int32, MsoSegmentType)

Sets the segment type of the segment that follows the specified node.

Applies to