| CPROJiAddDocumentWithoutOpening Method |
Adds (and opens) a document file in the current project.
Available since Oasis montaj version: 8.5.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
The passed file name must be a valid
file name complete with an extension and
qualifiers (if applicable).
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.
Voxel Voxel file.
Syntax public static int iAddDocumentWithoutOpening(
string str1,
string str2
)
Public Shared Function iAddDocumentWithoutOpening (
str1 As String,
str2 As String
) As Integer
public:
static int iAddDocumentWithoutOpening(
String^ str1,
String^ str2
)
static member iAddDocumentWithoutOpening :
str1 : string *
str2 : string -> int
Parameters
- str1
- Type: SystemString
Document name - str2
- Type: SystemString
Type of document to add
Return Value
Type:
Int32
0 - Ok
1 - Error
See Also