DesignerRegion::GetBounds Method ()

 

Retrieves the size of the designer region 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 representing the designer region size on the design surface.

The GetBounds method returns a value that is equivalent to calling the GetBounds method on the Designer object with this designer region.

.NET Framework
Available since 2.0
Return to top
Show: