All Cadcorp SIS API Methods

ImportDataSourceOverlay Method

Description

Imports a dataset into the current SWD, that will fetch data from non-file data source.

Syntax

Visual Basic
Public Function ImportDataSourceOverlay( _
   ByVal pos As Integer, _
   ByVal clsDataSource As String, _
   ByVal parameters As String _
) As Integer

Parameters

pos

The position in the overlays list at which to insert the overlay. If this argument specifies a position in the existing overlays, the new overlay will not replace the existing overlay at the given position but will shuffle any other overlays down the list.


clsDataSource

The class name of the data source to use.

 
parameters

Comma-separated optional parameters used to configure the data source.

Note: For the class names and parameters to use, see CreateDataSourceOverlay (Overlay methods)

Remarks

Available: GEO D OD OM OV SISpy

Groups:

Example

sis.ImportDataSourceOverlay (5, "APostGisCursorDts", params)