All Cadcorp SIS API Methods

ScanList Method

Description

Scans a Named List for Items matching a named Filter and/or named Spatial Filter.

Syntax

Visual Basic
Public Function ScanList( _
   ByVal listOut As String, _
   ByVal listIn As String, _
   ByVal filter As String, _
   ByVal locus As String _
) As Long

Parameters

listOut
The Named List in which to store any Items found.
 
listIn
The Named List to be scanned.
 
filter
Optionally specifies a named Filter which Items must pass to be included in the scan.
 
locus
Optionally specifies a named Spatial Filter which Items must pass to be included in the scan.

Return Type

The number of Items found, i.e. the number of Items placed in the Named List.

Remarks

The listOut argument may be the same as the listIn argument in order to re-use the existing Named List.

Available: GEO D OD OM OV SISpy

Groups:

Example

NItems = sis.ScanList ("Points", "0", "PointsOnly", "Talbot")