Retrieves the coordinates of the rectangle representing the boundaries for the control as displayed on the design surface.
Assembly: System.Design (in System.Design.dll)
public Rectangle GetBounds()
public: Rectangle GetBounds()
member GetBounds : unit -> Rectangle
Public Function GetBounds As Rectangle
A Rectangle object representing the boundaries for the control on the design surface relative to the control, not the document.
Available since 2.0