About GPS ToolKit
Introduction
Purchasing GPS ToolKit
Redistributing GPS ToolKit
License Agreement
Support
Getting Started
How to Use GPS ToolKit
Adding GPS ToolKit to a Visual Basic Project
Adding GPS ToolKit to a Visual C++ Project
Adding GPS ToolKit to an Excel Worksheet
Setting up the GPS
How to Use Events
Handling Events in Visual Basic
Handling Events in Visual C++
Handling Events in Microsoft Excel
GPS ToolKit Sample Projects
Handling GPS ToolKit Errors
Reference
Properties
Altitude
AltitudeUnits
ArrivedAtDest
AutomaticOperation
BaudRate
CrossTrackError
DegLabel
DestClosingVelocity
DestWptID
DestWptLatitude
DestWptLongitude
DistUnits
DGPSRefStationID
FixDateTime
FixGood
FixQuality
FixSatellitePRNs
GeoidHeightAboveWGS84Ellipsoid
HDOP
Latitude
LatLonFormat
Longitude
MagVariation
MinLabel
ModeIndicator
NumSatellitesInFix
NumSatellitesInView
OperationMode
OrigToDestMagBearing
OrigToDestTrueBearing
OriginWptID
PDOP
PortHandle
PortName
RangeToDest
RouteContainsAllWpts
RouteName
SatelliteInViewPRNs
SecLabel
Speed
SpeedUnits
TimeSinceLastDGPSUpdate
TrueBearingToDest
TrueCourse
VDOP
WptsInRoute
Methods
Close
GetSatelliteInfo
GetWptLocation
Open
OpenFile
Events
FixUpdate
FileComplete
NavUpdate
RawDataReceived
SatelliteUpdate

DegLabel Property

Sets/gets the lat/lon degrees label.

Syntax

Visual Basic

object.DegLabel [ = value ]

Visual C++

object.GetDegLabel()

object.SetDegLabel(value)

Part Description
object An object expression that evaluates to a GPS ToolKit object.
value A string indicating the label for lat/lon degrees.

Example

Visual Basic

'Set degrees label
myGPSToolKit.DegLabel = "deg"

'Get degrees label
Dim degreesLabel As String
degreesLabel = myGPSToolKit.DegLabel

Visual C++

// Set degrees label
_variant_t vtDegLabel("deg");
m_myGPSToolKit.SetDegLabel(vtDegLabel);

// Get degrees label
vtDegLabel = m_myGPSToolKit.GetDegLabel();
_bstr_t convBSTR = (_bstr_t)vtDegLabel;
CString strDegLabel = (LPCSTR)convBSTR;

Remarks

This property affects the degrees label of the Latitude and the Longitude property, as well as the latitude and longitude data supplied by the FixUpdate event.

Default

° (degree symbol/ASCII character 176)

Returns

A VARIANT (type VT_BSTR/BSTR/VB String) containing the lat/lon degrees label.

Errors

None

See Also

MinLabel property, SecLabel property, Latitude property, Longitude property, FixUpdate