Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Rect Properties

The Rect type exposes the following members.

  Name Description
Public property Bottom Gets the y-axis value of the bottom of the rectangle.
Public property BottomLeft Gets the position of the bottom-left corner of the rectangle
Public property BottomRight Gets the position of the bottom-right corner of the rectangle.
Public property Static member Empty Gets a special value that represents a rectangle with no position or area.
Public property Height Gets or sets the height of the rectangle.
Public property IsEmpty Gets a value that indicates whether the rectangle is the Empty rectangle.
Public property Left Gets the x-axis value of the left side of the rectangle.
Public property Location Gets or sets the position of the top-left corner of the rectangle.
Public property Right Gets the x-axis value of the right side of the rectangle.
Public property Size Gets or sets the width and height of the rectangle.
Public property Top Gets the y-axis position of the top of the rectangle.
Public property TopLeft Gets the position of the top-left corner of the rectangle.
Public property TopRight Gets the position of the top-right corner of the rectangle.
Public property Width Gets or sets the width of the rectangle.
Public property X Gets or sets the x-axis value of the left side of the rectangle.
Public property Y Gets or sets the y-axis value of the top side of the rectangle.
Top
Show:
© 2015 Microsoft