OriginWptID Property
Gets the ID (name) of the origin waypoint of the current route leg.
Syntax
Visual Basic
object.OriginWptID
Visual C++
object.GetOriginWptID()
| Part
| Description |
| object |
An object expression that evaluates to a GPS ToolKit object. |
Example
Visual Basic
'Get origin waypoint ID
Dim originWpt As String
originWpt = myGPSToolKit.OriginWptID
Visual C++
_variant_t vtOriginWpt;
// Get origin waypoint ID
vtOriginWpt = m_myGPSToolKit.GetOriginWptID();
_bstr_t convBSTR = (_bstr_t)vtOriginWpt;
CString strOriginWpt = (LPCSTR)convBSTR;
Remarks
None
Default
Empty (VT_EMPTY)
Returns
A VARIANT (type VT_BSTR/BSTR/VB String) containing the ID (name) of the origin waypoint for the current route leg.
Errors
None
See Also
DestWptID property, RouteName property, WptsInRoute property, NavUpdate event
|