GetBounds Method

ControlDesigner.GetBounds 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()

Return Value

Type: System.Drawing.Rectangle

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
Show:
© 2016 Microsoft