RectangleType Property
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Rectangle.RectangleType Property

Returns a WdRectangleType constant that represents the type for the specified rectangle.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

WdRectangleType RectangleType { get; }

TheRectangleType property can be one of the following WdRectangleType constants.


Represents a region corresponding to a line that separates columns.


Represents a space occupied by a comment balloon.


Represents a space occupied by the more (...) indicator that appears in a comment balloon when there is additional text for the comment.


Represents a space occupied by a page border.


Represents a space occupied by a selection tool, for example the table selection tool in the upper left corner of a table or the anchor for an image.


Represents a space occupied by a shape.


Not applicable.


Represents a space occupied by text.

Rectangles in Microsoft Word are sections within a page in a document that contain specific types of information. Some sections are portions of text; others are shapes. The purpose of rectangles is to allow more control over programmatic page layout.

© 2016 Microsoft