All Cadcorp SIS API Methods

Exit

Description

Exits the Cadcorp Cadcorp SIS Desktop session using the chosen savecode.

Syntax

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

Parameters

savecode
SIS_NOSAVE (0)   Do not save any SWDs or Datasets before exiting
SIS_SAVE (1)   Save all SWDs and Datasets before exiting
SIS_PROMPTSAVE (2)    Prompt to choose whether or not to save SWDs and Datasets before exiting

Remarks

Available: D

Groups:

Example

sis.Exit(SIS_SAVE)

Saves all SWDs and Datasets before exiting.