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

RouteContainsAllWpts Property

Returns a flag indicating if the current route lists all waypoints in the route, or only waypoints that have not yet been reached.

Syntax

Visual Basic

object.RouteContainsAllWpts

Visual C++

object.GetRouteContainsAllWpts()

Part Description
object An object expression that evaluates to a GPS ToolKit object.

Example

Visual Basic

Dim allWpts As Boolean

'Determine whether the route waypoint list holds all waypoints or
'just the ones that have not yet been reached
allWpts = myGPSToolKit.RouteContainsAllWpts

Visual C++

_variant_t vtAllWpts;

// Determine whether the route waypoint list holds all waypoints or
// just the ones that have not yet been reached
vtAllWpts = m_myGPSToolKit.GetRouteContainsAllWpts();
bool allWpts = (bool)vtAllWpts;

Remarks

None

Default

False (VT_BOOL)

Returns

A VARIANT (type VT_BOOL/bool) indicating if all route waypoints are listed in the WptsInRoute property. A value of true indicates that all waypoints in the route are listed. False indicates that only the waypoints that have not yet been reached are listed. invalid fix.

Errors

None

See Also

WptsInRoute property, RouteName event, NavUpdate event