Rectangles Property
Returns a Rectangles collection that represents a portion of text or graphics in a page in a document.
expression.Rectangles
expression Required. An expression that returns one of the objects in the Applies To list.
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.
Example
The following example returns the Rectangles collection for the first page in the active document.
Dim objRectangles As Rectangles
Set objRectangles = ActiveDocument.ActiveWindow _
.Panes(1).Pages(1).Rectangles
Applies to | Line Object | Page Object