SecLabel Property
Sets/gets the lat/lon seconds label.
Syntax
Visual Basic
object.SecLabel [ = value ]
Visual C++
object.GetSecLabel()
object.SetSecLabel(value)
| Part
| Description |
| object |
An object expression that evaluates to a GPS ToolKit object. |
| value |
A string indicating the label for lat/lon seconds.
|
Example
Visual Basic
'Set seconds label
myGPSToolKit.SecLabel = "sec"
'Get seconds label
Dim secondsLabel As String
secondsLabel = myGPSToolKit.SecLabel
Visual C++
// Set seconds label
_variant_t vtSecLabel("sec");
m_myGPSToolKit.SetSecLabel(vtSecLabel);
// Get seconds label
vtSecLabel = m_myGPSToolKit.GetSecLabel();
_bstr_t convBSTR = (_bstr_t)vtSecLabel;
CString strSecLabel = (LPCSTR)convBSTR;
Remarks
This property affects the seconds label of the Latitude and the
Longitude property, as well as the latitude and longitude data supplied by the
FixUpdate event.
Default
'
Returns
A VARIANT (type VT_BSTR/BSTR/VB String) containing the lat/lon seconds label.
Errors
None
See Also
DegLabel property, MinLabel property, Latitude property, Longitude property, FixUpdate
|