Frames Interface 

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

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Public Class ramesImplementation
    Implements Frames
End Class
Dim ramesImplementation1 As New ramesImplementation()

Syntax

Public Interface Frames
    Inherits IEnumerable
public interface Frames : IEnumerable
public interface class Frames : public IEnumerable
public interface Frames implements IEnumerable
public interface Frames implements IEnumerable

Remarks

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

Use the Add 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.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

Frames Members