| CPROJiSaveCloseDocuments Method |
Saves and closes (if visible) documents contained in the current project.
Available since Oasis montaj version: 5.0.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
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 Save and close only databases.
Map Save and close only maps.
Grid Save and close only grids.
All Saves and closes all files.
Syntax public static int iSaveCloseDocuments(
string str1
)
Public Shared Function iSaveCloseDocuments (
str1 As String
) As Integer
public:
static int iSaveCloseDocuments(
String^ str1
)
static member iSaveCloseDocuments :
str1 : string -> int
Parameters
- str1
- Type: SystemString
Type of document to save / close
Return Value
Type:
Int32
0 - Ok
-1 - User hit cancel in save dialog
1 - Error
See Also