Version

GetPointFromValue Method

Gets the value along the track axis (i.e. x-axis or y-axis) that is closest to the specified value
Syntax
'Declaration
 
Public Function GetPointFromValue( _
   ByVal value As Integer _
) As Integer
public int GetPointFromValue( 
   int value
)

Parameters

value
The value whose point should be determined.

Return Value

The integer value closest to the specified point on the TrackBar.
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