All Cadcorp SIS API Methods

ProjectClose Method

Description

Saves and closes the current project.

Note: The ProjectClose Method replaces the WorkspaceClose Method which was used in previous versions of Cadcorp SIS.

Syntax

Visual Basic
Public Function ProjectClose( _
   ByVal savecode As Integer, _
) As Integer

Parameters

savecode
0 Do not save any modified datasets and/or SWDs.
1 Save all modified datasets and/or SWDs.
2 Prompt the user with each modified dataset and/or SWD.

Remarks

Available: GEO D OD OM SISpy

Group:

Example

sis.ProjectClose(0)