All Cadcorp SIS API Methods

CreateDataSourceOverlay Method

Description

Inserts a dataset into the current SIS Workspace Definition (SWD), which will fetch data from non-file data source.

TIP: See OGC WMS for a full description.

Syntax

Visual Basic
Public Function CreateDataSourceOverlay( _
   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 classname of the data source to use.
 
parameters
Comma-separated optional parameters to configure the data source.

Remarks

  • Mandatory parameters will be coloured RED.
  • Examples using params = {} are based on Python.