Click or drag to resize

CARCMAPiLoadMAP Method

Loads a Geosoft map into the ArcMap document.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int iLoadMAP(
	string map,
	string extra_csv,
	string layer_tag,
	int flags
)

public static int iLoadMAP(
	string map,
	string extra_csv,
	string layer_tag,
	int flags
)

Parameters

map
Type: SystemString
Map File 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
Remarks
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
See Also