 | CARCMAPiLoadMAPEx Method |
Loads a Geosoft map into the ArcMap document, specifying which View to use as Data view.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iLoadMAPEx(
string map,
string view,
string extra_csv,
string layer_tag,
int flags
)
public static int iLoadMAPEx(
string map,
string view,
string extra_csv,
string layer_tag,
int flags
)
Public Shared Function iLoadMAPEx (
map As String,
view As String,
extra_csv As String,
layer_tag As String,
flags As Integer
) As Integer
Public Shared Function iLoadMAPEx (
map As String,
view As String,
extra_csv As String,
layer_tag As String,
flags As Integer
) As Integer
public:
static int iLoadMAPEx(
String^ map,
String^ view,
String^ extra_csv,
String^ layer_tag,
int flags
)
public:
static int iLoadMAPEx(
String^ map,
String^ view,
String^ extra_csv,
String^ layer_tag,
int flags
)
static member iLoadMAPEx :
map : string *
view : string *
extra_csv : string *
layer_tag : string *
flags : int -> int
static member iLoadMAPEx :
map : string *
view : string *
extra_csv : string *
layer_tag : string *
flags : int -> int
Parameters
- 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
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