All Cadcorp SIS API Methods

SwtClose Method

Description

Close all of the windows of the current SIS Workspace Template (SWT).

Syntax

Visual Basic
Public Function SwtClose( _
   ByVal savecode As Integer _
) As Integer

Parameters

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

Remarks

Available: D MD

Groups:

Example

sis.SwtClose(SIS_PROMPTSAVE)

Prompt the user to save if the SWT has been modified.