Click or drag to resize
CMAPTEMPLATECreate Method
Create a MAPTEMPLATE from an existing file.

Available since Oasis montaj version: 6.3
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
Syntax
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
&lt;define&gt;MAPTEMPLATE_OPEN&lt;/define&gt;

Return Value

Type: CMAPTEMPLATE
MAPTEMPLATE Object
See Also