All Cadcorp SIS API Methods

SwdSaveAs Method

Description

Saves the current SIS Workspace Definition (SWD) with a different name. The original file is not renamed but kept on disk.

Syntax

Visual Basic
Public Function SwdSaveAs( _
   ByRef filename As String _
) As Integer

Parameters

filename
The new name for the SWD.

Remarks

Available: D

Groups:

Example

sis.SwdSaveAs ("c:\projects\medway\keyplan99.swd")

Saves the current SWD with the name c:\projects\medway\keyplan99.swd.

To save this SWD in SIS version 6 format:

mapobject.SwdSaveAs ("c:\projects\medway\keyplan99.swd?format=V6")