 | CPROJiAddDocumentWithoutOpening Method |
Adds (and opens) a document file 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 iAddDocumentWithoutOpening(
string name,
string type
)
public static int iAddDocumentWithoutOpening(
string name,
string type
)
Public Shared Function iAddDocumentWithoutOpening (
name As String,
type As String
) As Integer
Public Shared Function iAddDocumentWithoutOpening (
name As String,
type As String
) As Integer
public:
static int iAddDocumentWithoutOpening(
String^ name,
String^ type
)
public:
static int iAddDocumentWithoutOpening(
String^ name,
String^ type
)
static member iAddDocumentWithoutOpening :
name : string *
type : string -> int
static member iAddDocumentWithoutOpening :
name : string *
type : string -> int
Parameters
- name
- Type: SystemString
Document name - type
- Type: SystemString
Type of document to add
Return Value
Type:
Int32
0 - Ok
1 - Error
Remarks
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
Grid
Map
3DView
Geosurface
Voxel
VoxelInversion
GMS3D
GMS2D
See Also