Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoLayer Class : PickObjectsInRectangle Method |
RectangleF
in document coordinates.
'Declaration Public Function PickObjectsInRectangle( _ ByVal rect As RectangleF, _ ByVal pickstyle As GoPickInRectangleStyle, _ ByVal coll As IGoCollection, _ ByVal max As Integer _ ) As IGoCollection
public IGoCollection PickObjectsInRectangle( RectangleF rect, GoPickInRectangleStyle pickstyle, IGoCollection coll, int max )
RectangleF
in document coordinates.GoPickInRectangleStyle.SelectableOnlyContained
, this method also heeds the CanSelectObjects and GoObject.CanSelect predicates. This actually checks to see if the whole GoObject.SelectionObject is within the rect bounds. Such a policy allows a GoGroup to be selected even though only one part of the group is in the rectangle, the object's GoObject.SelectionObject that appears to the user to be selected. This will consider the children of GoGroups. Once it finds a selectable object within the rectangle, it does not recurse further into that object. This method is called by SelectInRectangle.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