System.Web.UI.Design.DesignerRegion.GetBounds Method

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

Syntax

public System.Drawing.Rectangle GetBounds ()

Returns

A System.Drawing.Rectangle representing the designer region size on the design surface.

Remarks

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

Requirements

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