Version

GetValueFromPoint(Point) Method

Gets the value closest to the specific location. Only the point on the same axis as the track is used.
Syntax
'Declaration
 
Public Function GetValueFromPoint( _
   ByVal location As Point _
) As Integer
public int GetValueFromPoint( 
   Point location
)

Parameters

location
The location of the point to check, in client coordinates.

Return Value

An integer representing the closest value to the specified point.
Requirements

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

See Also