PalmSens SDK v1.8.2.0

Curve.FindNearestX Method 

Find the index of the X point nearest to p

[Visual Basic]
Public Function FindNearestX( _
   ByVal x As Single, _
   ByVal y As Single _
) As Integer
[C#]
public int FindNearestX(
   float x,
   float y
);

Parameters

x
x to look for
y
y to look for

Return Value

index nearest to x,y or 0 if there were no X points yet

See Also

Curve Class | PalmSens Namespace