Gets the value closest to the specific location. Only the point on the same axis as the track is used.
'Declaration
Public Function GetValueFromPoint( _
ByVal As Point _
) As Integer
public int GetValueFromPoint(
Point
)
Parameters
- location
- The location of the point to check, in client coordinates.
Return Value
An integer representing the closest value to the specified point.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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