|
GPS ToolKit.NET
TrueCourse Property
Returns the current GPS true course.
Syntax
[Visual Basic]
object.TrueCourse
[C#]
object.TrueCourse
[C++]
object->TrueCourse
Parameters
object
An object expression that evaluates to a GPSToolKit object.
Return Value
An Angle object containing the current GPS speed.
Remarks
- If true course data is unavailable, the IsValid property of the returned Angle object is false.
- To get the magnetic course, add the true course value to the magnetic variation value returned by the ExtendedFixData.MagneticVariation property.
Errors
None
Example
[Visual Basic]
Dim course As Angle
'Get true course
course = myGPSToolKit.TrueCourse
[C#]
// Get true course
Angle course = myGPSToolKit.TrueCourse;
[C++]
// Get true course
Angle *course = myGPSToolKit->TrueCourse;
See Also
Speed class | Position property |
Position property | PositionUpdate event
|