Graph PaneFind Nearest Object Method
Definition
Namespace: ZedGraph
Assembly: ZedGraph (in ZedGraph.dll) Version: 5.1.5.0
Assembly: ZedGraph (in ZedGraph.dll) Version: 5.1.5.0
C#
public bool FindNearestObject(
PointF mousePt,
Graphics g,
out Object nearestObj,
out int index
)VB
Public Function FindNearestObject (
mousePt As PointF,
g As Graphics,
<OutAttribute> ByRef nearestObj As Object,
<OutAttribute> ByRef index As Integer
) As Boolean