AutomaticOperation Property
Returns the current GPS automatic/manual operating mode.
Syntax
Visual Basic
object.AutomaticOperation
Visual C++
object.GetAutomaticOperation()
| Part
| Description |
| object |
An object expression that evaluates to a GPS ToolKit object. |
Example
Visual Basic
Dim autoOperation As Boolean
'Get automatic/manual operation mode
autoOperation = myGPSToolKit.AutomaticOperation
Visual C++
_variant_t vtAutoOperation;
// Get automatic/manual operation mode
vtAutoOperation = m_myGPSToolKit.GetAutomaticOperation();
bool bFixGood = (bool)vtAutoOperation;
Remarks
None
Default
False (VT_BOOL)
Returns
A VARIANT (type VT_BOOL/bool) containing GPS automatic/manual mode.
A value of true indicates that the GPS is in automatic mode. False
indicates that the GPS is in manual mode.
Errors
None
See Also
OperationMode property, SatelliteUpdate event
|