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)
Syntax
'Declaration
ReadOnly Property RectangleType As WdRectangleType
Get
'Usage
Dim instance As Rectangle
Dim value As WdRectangleType
value = instance.RectangleType
WdRectangleType RectangleType { get; }
Property Value
Type: Microsoft.Office.Interop.Word.WdRectangleType
Remarks
TheRectangleType property can be one of the following WdRectangleType constants.
wdLineBetweenColumnRectangle |
Represents a region corresponding to a line that separates columns. |
wdMarkupRectangle |
Represents a space occupied by a comment balloon. |
wdMarkupRectangleButton |
Represents a space occupied by the more (...) indicator that appears in a comment balloon when there is additional text for the comment. |
wdPageBorderRectangle |
Represents a space occupied by a page border. |
wdSelection |
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. |
wdShapeRectangle |
Represents a space occupied by a shape. |
wdSystem |
Not applicable. |
wdTextRectangle |
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.