Rectangle.RectangleType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應