Click or drag to resize
CMAPTEMPLATE Class
A MAPTEMPLATE wraps and provides manipulation and usage for the XML content in map template files. See the annotated schema file maptemplate.xsd in the <GEOSOFT>\maptemplate folder and the accompanying documentation in that folder for documentation on the file format.
Inheritance Hierarchy

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax
public class CMAPTEMPLATE : CHANDLE

The CMAPTEMPLATE type exposes the following members.

Methods
  NameDescription
Public methodAvailable to anyone with an Oasis Montaj licenseCommit
Commit any changes to the map template to disk
Public methodAvailable to anyoneStatic memberCreate
Create a MAPTEMPLATE from an existing file.
Public methodAvailable to anyone with an Oasis Montaj licenseCreateMap
Create a map from the map template
Public methodAvailable to anyone with an Oasis Montaj licenseDiscard
Discard all changes made to the map template and reload from disk.
Protected methodDispose
Releases the unmanaged resources used by the CMAPTEMPLATE and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodAvailable to anyone with an Oasis Montaj licenseGetFileName
Get the file name of the map template.
Public methodAvailable to anyone with an Oasis Montaj licenseGetTmpCopy
Get a temporary XML file for manipulation of the map template.
Public methodAvailable to anyone with an Oasis Montaj licenseRefresh
Refresh the map template with any newly saved items
Public methodAvailable to anyone with an Oasis Montaj licenseRenderPreview
Create a preview of the map template onto a Windows DC handle
Public methodAvailable to anyone with an Oasis Montaj licenseRenderPreviewMapProduction
Render a preview for map sheet production purposes
Public methodAvailable to anyone with an Oasis Montaj licenseUpdateFromTmpCopy
Update the object contents from a temporary XML file that may have bee manipulated externally.
Top
See Also