Share via


Rectangle Object Members

Word Developer Reference

Represents a portion of text or a graphic in a page. Use the Rectangle object and related methods and properties for programmatically defining page layout in a document.

Properties

  Name Description
Bb257699.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257699.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257699.properties(en-us,office.12).gif Height Returns a Long that represents the height of a rectangle, in pixels.
Bb257699.properties(en-us,office.12).gif Left Returns a Long that represents the number of pixels from the left edge of the page to the left edge of a rectangle.
Bb257699.properties(en-us,office.12).gif Lines Returns a Lines collection that represents the lines in a specified portion of text in a page.
Bb257699.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Rectangle object.
Bb257699.properties(en-us,office.12).gif Range Returns a Range object that represents the portion of a document that is contained within a rectangle.
Bb257699.properties(en-us,office.12).gif RectangleType Returns a WdRectangleType constant that represents the type for the specified rectangle.
Bb257699.properties(en-us,office.12).gif Top Returns a Long that represents the number of pixels from the top of the page to the top of a rectangle.
Bb257699.properties(en-us,office.12).gif Width Returns or sets a Long that represents the width, in points, of a rectangle. Read/write Long.