| CPROJiAddDocument Method |
Adds (and opens) a document file in the current project.
Available since Oasis montaj version: 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.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
Grid
Map
3DView
Voxel
VoxelInversion
GMS3D
GMS2D
Syntax public static int iAddDocument(
CGXNETCore gxNetShared,
string name,
string type,
int display
)
Public Shared Function iAddDocument (
gxNetShared As CGXNETCore,
name As String,
type As String,
display As Integer
) As Integer
public:
static int iAddDocument(
CGXNETCore^ gxNetShared,
String^ name,
String^ type,
int display
)
static member iAddDocument :
gxNetShared : CGXNETCore *
name : string *
type : string *
display : int -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - name
- Type: SystemString
Document name - type
- Type: SystemString
Type of document to add - display
- Type: SystemInt32
<define>PROJ_DISPLAY</define>
Return Value
Type:
Int32
0 - Ok
1 - Error
See Also