RangeToDest Property
Returns the range (distance) to the current destination wayopint.
Syntax
Visual Basic
object.RangeToDest
Visual C++
object.GetRangeToDest()
| Part
| Description |
| object |
An object expression that evaluates to a GPS ToolKit object. |
Example
Visual Basic
Dim range As Double
'Get range to deestination waypoint
range = myGPSToolKit.RangeToDest
Visual C++
_variant_t vtRange;
// Get range to deestination waypoint
vtRange = m_myGPSToolKit.GetRangeToDest();
double range = (double)vtRange;
Remarks
RangeToDest is returned in the units defined in the
DistUnits property.
Default
Empty (VT_EMPTY)
Returns
A VARIANT (type VT_R8/double) containing the last reported range value.
If no range data is reported the variable will be empty (type VT_EMPTY).
Errors
None
See Also
DestWptID property, TrueBearingToDest property, DestClosingVelocity property, CrossTrackError property, NavUpdate event
|