DesignerRegion.GetBounds Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Retrieves the size of the designer region on the design surface.

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

Public Function GetBounds As Rectangle

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