 | 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
Syntaxpublic static int iSaveCloseDocuments(
string type
)
public static int iSaveCloseDocuments(
string type
)
Public Shared Function iSaveCloseDocuments (
type As String
) As Integer
Public Shared Function iSaveCloseDocuments (
type As String
) As Integer
public:
static int iSaveCloseDocuments(
String^ type
)
public:
static int iSaveCloseDocuments(
String^ type
)
static member iSaveCloseDocuments :
type : string -> int
static member iSaveCloseDocuments :
type : string -> int
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