Click or drag to resize
CARCMAPiLoadMAPEx Method
Loads a Geosoft map into the ArcMap document, specifying which View to use as Data view.

Available since Oasis montaj version: 8.0.0
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
The extra datasets CSV should contain the the following fields: ID - Unique identifier DATASOURCE - Filename TYPE - RASTER and SHAPE supported MAPMATCH - Map to associate with (used for grouping logic) VIEWMATCH - View to match with in associated map (used for grouping logic) ZONEFILE - Used for type RASTER
Syntax
public static int iLoadMAPEx(
	string str1,
	string str2,
	string str3,
	string str4,
	int i5
)

Parameters

str1
Type: SystemString
Map File Name
str2
Type: SystemString
View Name
str3
Type: SystemString
Optional Extra Datasets CSV Filename (Rasters and shape files to display with layers)
str4
Type: SystemString
Optional frame/layer tag (suffix)
i5
Type: SystemInt32
Combination of ARCMAP_LOAD_FLAGSConstant

Return Value

Type: Int32
0 - OK 1 - Error -1 - Canceled
See Also