Click or drag to resize

CPROJiSaveCloseDocuments Method

Saves and closes (if visible) documents contained in the current project.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int iSaveCloseDocuments(
	string type
)

public static int iSaveCloseDocuments(
	string type
)

Parameters

type
Type: SystemString
Type of document to save / close

Return Value

Type: Int32
0 - Ok -1 - User hit cancel in save dialog 1 - Error
Remarks
This wrapper brings up the save dialog tool to allow the user to save the modified documents for this project. Only documents that have actually changed will be listed. The type string can be one of the following: Database Grid Map 3DView Geosurface Voxel VoxelInversion GMS3D GMS2D All
See Also