![](../icons/Help.png) | 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.GXNetXAssembly: 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
Syntaxpublic static int iLoadMAPEx(
CGXNETCore gxNetShared,
string map,
string view,
string extra_csv,
string layer_tag,
int flags
)
Public Shared Function iLoadMAPEx (
gxNetShared As CGXNETCore,
map As String,
view As String,
extra_csv As String,
layer_tag As String,
flags As Integer
) As Integer
public:
static int iLoadMAPEx(
CGXNETCore^ gxNetShared,
String^ map,
String^ view,
String^ extra_csv,
String^ layer_tag,
int flags
)
static member iLoadMAPEx :
gxNetShared : CGXNETCore *
map : string *
view : string *
extra_csv : string *
layer_tag : string *
flags : int -> int
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