Page.Rectangles Property (Word)

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


expression. Rectangles

expression Required. A variable that represents a 'Page' object.


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.


The following example returns the Rectangles collection for the first page in the active document.

Dim objRectangles As Rectangles 
Set objRectangles = ActiveDocument.ActiveWindow _ 

See also

Page Object