DesignerRegion.GetBounds 方法
定义
检索设计图面上设计器区域的大小。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
返回
表示设计图面上设计器区域大小的 Rectangle。A Rectangle representing the designer region size on the design surface.
注解
GetBounds方法返回一个值,该值等效于 GetBounds Designer 使用此设计器区域对对象调用方法。The GetBounds method returns a value that is equivalent to calling the GetBounds method on the Designer object with this designer region.