Edytuj

Udostępnij za pośrednictwem


Rectangle.RectangleType Property

Definition

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

public:
 property Microsoft::Office::Interop::Word::WdRectangleType RectangleType { Microsoft::Office::Interop::Word::WdRectangleType get(); };
public Microsoft.Office.Interop.Word.WdRectangleType RectangleType { get; }
member this.RectangleType : Microsoft.Office.Interop.Word.WdRectangleType
Public ReadOnly Property RectangleType As WdRectangleType

Property Value

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.

Applies to