GoDiagram Win Reference
SelectInRectangle Method

A RectangleF in document coordinates.
Add all eligible document objects that are within a given rectangle to this view's selection.
Syntax
'Declaration
 
Public Overridable Sub SelectInRectangle( _
   ByVal rect As RectangleF _
) 
public virtual void SelectInRectangle( 
   RectangleF rect
)

Parameters

rect
A RectangleF in document coordinates.
Remarks

This method only selects document objects. It basically just calls GoLayer.GoLayer.PickObjectsInRectangle for each document layer that this view uses, passing in the value of SelectInRectangleStyle to control how the inclusion decision is made. If CanSelectObjects is false, this will not select anything. This method is called by GoToolRubberBanding's DoRubberBand method.

This raises the SelectionStarting and SelectionFinished events.

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

GoView Class
GoView Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback