All Cadcorp SIS API Methods

LoadSwd Method

Description

Replaces the current SWD with the contents of another SWD file.

Syntax

Visual Basic
Public Function LoadSwd( _
   ByVal filename As String _
) As Integer

Parameters

filename
The filename of the SWD file to load.

Remarks

The contents of the SWD file (i.e. overlay setup, saved view) are copied and the SWD file is not locked.

Other Cadcorp SIS Controls that use the SWD which is being replaced will not automatically use the new SWD.

If the current window type is Map LoadSwd will only open scale-dependent data using the current drawing scale of the Map Window as the scale threshold.

Available: GEO OD OM OV SISpy

Groups:

Example

sis.LoadSwd ("c:\projects\BASEMAP.SWD")