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
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.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(
	CGXNETCore gxNetShared,
	string map,
	string view,
	string extra_csv,
	string layer_tag,
	int flags
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
map
Type: SystemString
Map File Name
view
Type: SystemString
View Name
extra_csv
Type: SystemString
Optional Extra Datasets CSV Filename (Rasters and shape files to display with layers)
layer_tag
Type: SystemString
Optional frame/layer tag (suffix)
flags
Type: SystemInt32
Combination of <define>ARCMAP_LOAD_FLAGS</define>

Return Value

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