Share via


Rectangle Members

Include Protected Members
Include Inherited Members

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.

The Rectangle type exposes the following members.

Properties

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property Height Returns or sets the height of the specified rectangle, in points.
Public property Left Returns or sets an integer that represents the horizontal position of the specified rectangle, measured in points.
Public property Lines Returns a Lines collection that represents the lines in a specified portion of text in a page.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property Range Returns a Range object that represents the portion of a document that's contained in the specified object.
Public property RectangleType Returns a WdRectangleType constant that represents the type for the specified rectangle.
Public property Top Returns or sets the vertical position of the specified rectangle, in points.
Public property Width Returns or sets the width of the specified rectangle, in points.

Top

See Also

Reference

Rectangle Interface

Microsoft.Office.Interop.Word Namespace