GetBounds Method (Element)
In This Topic
Gets the element's bounds (size and location) within an arbitrary ancestor, in pixels. Ancestor element (parent, grand-parent, etc). A
System.Drawing.Rectangle that corresponds to the element's position within the given
ancestor.
Overload List
Overload | Description |
GetBounds(Element) | Gets the element's bounds (size and location) within an arbitrary ancestor, in pixels. Ancestor element (parent, grand-parent, etc). A System.Drawing.Rectangle that corresponds to the element's position within the given . |
GetBounds(Element,Boolean,Boolean) | Gets the element's bounds (size and location) within an arbitrary ancestor, in pixels. |
See Also