Northwoods.Go Assembly > Northwoods.Go Namespace > GoObject Class : Pick Method |
PointF
in document coordinates.
'Declaration Public Overridable Function Pick( _ ByVal p As PointF, _ ByVal selectableOnly As Boolean _ ) As GoObject
public virtual GoObject Pick( PointF p, bool selectableOnly )
PointF
in document coordinates.This will return null if this object is not visible or if the p is not in this object.
If selectableOnly is false, it will return this object; if that parameter is true, it will return this object only if CanSelect is true.
Finally, if CanSelect is false, and this object is part of a GoGroup, it proceeds up the chain of Parent objects until it finds one whose CanSelect property is true, and returns that.
Failing all of those tests, this method will return null.
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