Page.Rectangles Property 

Returns a Rectangles collection that represents a portion of text or graphics in a page in a document.

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

Usage

Dim page1 As Page

Dim returnValue As Rectangles
returnValue = page1.Rectangles

Syntax

ReadOnly Property Rectangles() As Rectangles
Rectangles Rectangles {get;}
property Rectangles^ Rectangles{
    Rectangles^ get();
}
public Rectangles get_Rectangles();
function get Rectangles() : Rectangles;

Remarks

Use the Rectangles collection and related objects and properties for programmatically defining page layout in a document. Rectangles correspond to portions of text or graphics on a page in a document.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Page Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Page Members