GetBounds(Element) Method
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 .
Syntax
Parameters
- ancestor
- Ancestor element (parent, grand-parent, etc).
Return Value
A
System.Drawing.Rectangle that corresponds to the element's position within the given .
See Also