All Cadcorp SIS API Methods

SwdClose Method

Description

Close all of the windows of the current SIS Workspace Definition (SWD), using the chosen savecode.

Syntax

Visual Basic
Public Function SwdClose( _
   ByVal savecode As String _
) As Integer

Parameters

savecode
SIS_NOSAVE (0)    Do not save the SWD.
SIS_SAVE (1)   Save the SWD if it has been modified.
SIS_PROMPTSAVE (2)    Prompt the user to save if the SWD has been modified.

Remarks

Available: D MD

Groups:

Example

sis.SwdClose(SIS_SAVE)

Save the SWD if it has been modified.