Click or drag to resize

CMAPTEMPLATECreate Method

Create a MAPTEMPLATE from an existing file.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static CMAPTEMPLATE Create(
	CGXNETCore gxNetShared,
	string name,
	string base,
	int mode
)

public static CMAPTEMPLATE Create(
	CGXNETCore gxNetShared,
	string name,
	string base,
	int mode
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
name
Type: SystemString
Map Template file name
base
Type: SystemString
Map Template base template to create from
mode
Type: SystemInt32
<define>MAPTEMPLATE_OPEN</define>

Return Value

Type: CMAPTEMPLATE
MAPTEMPLATE Object
Remarks
The base template name should be the file name part of a geosoft_maptemplate file in the <geosoft>\maptemplate or <geosoftuser>\maptemplate folders. A base file in the user folder will override any in the Geosoft install dir.
See Also