Click or drag to resize

CPROJiAddDocumentIncludeMeta 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
Syntax
public static int iAddDocumentIncludeMeta(
	string name,
	string type,
	string meta,
	int display
)

public static int iAddDocumentIncludeMeta(
	string name,
	string type,
	string meta,
	int display
)

Parameters

name
Type: SystemString
Document name
type
Type: SystemString
Type of document to add
meta
Type: SystemString
Meta file to load
display
Type: SystemInt32
<define>PROJ_DISPLAY</define>

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