Version

Map Method (Axis)

Finds the numeric location of a value on this axis, relative to given start and end numeric values.
Syntax
'Declaration
 
Public Overridable Function Map( _
   ByVal value As Object, _
   ByVal mapMinimum As Double, _
   ByVal mapMaximum As Double _
) As Double
public virtual double Map( 
   object value,
   double mapMinimum,
   double mapMaximum
)

Parameters

value
The value to find on this axis.
mapMinimum
The numeric minimum relative to which the value will be mapped.
mapMaximum
The numeric maximum relative to which the value will be mapped.

Return Value

The numeric location of a value on this axis, relative to mapMinimum and mapMaximum.
Remarks

The mapMinimum and mapMaximum parameters are typically pixel or degree values. For example, when mapping on a horizontal linear gauge, mapMinimum would be the leftmost pixel X-coordinate on the axis, whereas mapMaximum would be the rightmost pixel X-coordinate. Or, on a radial gauge, mapMinimum would be the start angle of the gauge, whereas mapMaximum would be the end angle of the same gauge.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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