| CARCMAPiLoadMAP Method |
Loads a Geosoft map into the ArcMap document.
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 iLoadMAP(
string str1,
string str2,
string str3,
int i4
)
Public Shared Function iLoadMAP (
str1 As String,
str2 As String,
str3 As String,
i4 As Integer
) As Integer
public:
static int iLoadMAP(
String^ str1,
String^ str2,
String^ str3,
int i4
)
static member iLoadMAP :
str1 : string *
str2 : string *
str3 : string *
i4 : int -> int
Parameters
- str1
- Type: SystemString
Map File Name - str2
- Type: SystemString
Optional Extra Datasets CSV Filename (Rasters and shape files to display with layers) - str3
- Type: SystemString
Optional frame/layer tag (suffix) - i4
- Type: SystemInt32
Combination of ARCMAP_LOAD_FLAGSConstant
Return Value
Type:
Int32
0 - OK
1 - Error
-1 - Canceled
See Also