DesignerRegion.GetBounds Method

Definition

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

public:
 System::Drawing::Rectangle GetBounds();
public System.Drawing.Rectangle GetBounds ();
member this.GetBounds : unit -> System.Drawing.Rectangle
Public Function GetBounds () As Rectangle

Returns

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

Remarks

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

Applies to

See also