GoDiagram Web Reference
ContainsPoint Method (GoHandle)

A PointF value in document coordinates.
Determines if the given point is inside this handle's bounds.
Syntax
'Declaration
 
Public Overrides Function ContainsPoint( _
   ByVal p As PointF _
) As Boolean
public override bool ContainsPoint( 
   PointF p
)

Parameters

p
A PointF value in document coordinates.

Return Value

True if the point is considered "on" the handle.
Remarks
This assumes that handles are actually hollow when the HandleID is GoObject.NoHandle-- that is, a point well inside the handle's bounds is not considered "on" the handle if the handle's ID is GoObject.NoHandle. This is useful for letting bounding handles be ignored by mouse over behavior. Note that this method does not take the Style into account--it assumes the handle is rectangular.
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

GoHandle Class
GoHandle Members
Base Implementation in ContainsPoint

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback