Modifica

Condividi tramite


Frames Interface

Definition

A collection of Frame objects in a selection, range, or document.

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

Remarks

Use the Frames property of a Selection, Range, or Document object to return the Frames collection.

Use the Add(Range) method to add a frame around a range.

Use Frames(index), where index is the index number, to return a single Frame object. The index number represents the position of the frame in the selection, range, or document.

The Count property for this collection in a document returns the number of items in the main story only. To count items in other stories use the collection with the Range 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[Int32]

Returns an individual object in a collection.

Parent

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

Methods

Add(Range)

Returns a Frame object that represents a new frame added to a range, selection, or document.

Delete()

Deletes the specified object.

GetEnumerator()

Applies to