ControlDesignerGetBounds Method
 

Retrieves the coordinates of the rectangle representing the boundaries for the control as displayed on the design surface.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public Rectangle GetBounds()
public:
Rectangle GetBounds()
member GetBounds : unit -> Rectangle
Public Function GetBounds As Rectangle

Return Value

Type:

A Rectangle object representing the boundaries for the control on the design surface relative to the control, not the document.

.NET Framework
Available since 2.0
Return to top