Rectangle Interface
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.
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.
public interface class Rectangle
[System.Runtime.InteropServices.Guid("ADD4EDF3-2F33-4734-9CE6-D476097C5ADA")]
public interface Rectangle
type Rectangle = interface
Public Interface Rectangle
- Attributes
Remarks
Use the Item[Int32] method to return a specific Rectangle object.
Use the RectangleType property to determine the type of rectangle.
Properties
Application |
Returns a Application object that represents the Microsoft Word application. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
Height |
Returns or sets the height of the specified rectangle, in points. |
Left |
Returns or sets an integer that represents the horizontal position of the specified rectangle, measured in points. |
Lines |
Returns a Lines collection that represents the lines in a specified portion of text in a page. |
Parent |
Returns an object that represents the parent object of the specified object. |
Range |
Returns a Range object that represents the portion of a document that's contained in the specified object. |
RectangleType |
Returns a WdRectangleType constant that represents the type for the specified rectangle. |
Top |
Returns or sets the vertical position of the specified rectangle, in points. |
Width |
Returns or sets the width of the specified rectangle, in points. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應