DestWptLongitude Property
Returns the longitude of the current destination waypoint.
Syntax
Visual Basic
object.DestWptLongitude
Visual C++
object.GetDestWptLongitude()
| Part
| Description |
| object |
An object expression that evaluates to a GPS ToolKit object. |
Example
Visual Basic
Dim destLongitude As String
'Get destination waypoint longitude
destLongitude = myGPSToolKit.DestWptLongitude
Visual C++
_variant_t vtDestLongitude;
// Get destination waypoint longitude
vtDestLongitude = m_myGPSToolKit.GetDestWptLongitude();
_bstr_t convBSTR = (_bstr_t)vtDestLongitude;
CString strDestLongitude = (LPCSTR)convBSTR;
Remarks
The destination waypoint longitude is returned in the format defined in the
LatLonFormat property. Degree, minute, and second labels are defined
in the DegLabel, MinLabel, and
SecLabel properties, respectively.
Default
Empty (VT_EMPTY)
Returns
A VARIANT (type VT_BSTR/BSTR/VB String) containing the last reported destination waypoint longitude.
If no longitude data is reported the variable will be empty (type VT_EMPTY).
Errors
None
See Also
DestWptID property, Longitude property, DestWptLatitude property,
DegLabel property, MinLabel property,
SecLabel property, NavUpdate event
|