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 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기