| 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.GXNetAssembly: 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
)
Public Shared Function iLoadMAPEx (
str1 As String,
str2 As String,
str3 As String,
str4 As String,
i5 As Integer
) As Integer
public:
static int iLoadMAPEx(
String^ str1,
String^ str2,
String^ str3,
String^ str4,
int i5
)
static member iLoadMAPEx :
str1 : string *
str2 : string *
str3 : string *
str4 : string *
i5 : int -> int
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