GoDiagram Web Reference
Box Property

Gets or sets the rectangle that the user has drawn so far.
Syntax
'Declaration
 
Public Property Box As Rectangle
public Rectangle Box {get; set;}

Property Value

This Rectangle is in view coordinates. You should call GoView.ConvertViewToDoc to convert these view coordinates into document coordinates so that you can select any objects within the rectangle corresponding to this box. It is initially a zero size rectangle at the mouse down point.
Remarks
This is normally set to the value last computed by ComputeRubberBandBox.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoToolRubberBanding Class
GoToolRubberBanding Members
DoRubberBand Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback