![](../icons/Help.png) | CMAPTEMPLATECreate Method |
Create a MAPTEMPLATE from an existing file.
Available since Oasis montaj version: 6.3
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: 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.
Syntaxpublic static CMAPTEMPLATE Create(
CGXNETCore gxNetShared,
string name,
string base,
int mode
)
Public Shared Function Create (
gxNetShared As CGXNETCore,
name As String,
base As String,
mode As Integer
) As CMAPTEMPLATE
public:
static CMAPTEMPLATE^ Create(
CGXNETCore^ gxNetShared,
String^ name,
String^ base,
int mode
)
static member Create :
gxNetShared : CGXNETCore *
name : string *
base : string *
mode : int -> CMAPTEMPLATE
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:
CMAPTEMPLATEMAPTEMPLATE Object
See Also