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.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public class CMAPTEMPLATE : CHANDLE

public class CMAPTEMPLATE : CHANDLE

The CMAPTEMPLATE type exposes the following members.

Methods
  NameDescription
Public methodCommit
Commit any changes to the map template to disk
Public methodStatic memberCreate
Create a MAPTEMPLATE from an existing file.
Public methodCreateMap
Create a map from the map template
Public methodDiscard
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 methodGetFileName(String)
Get the file name of the map template.
Public methodGetFileName(String, Int32)
Get the file name of the map template.
Public methodStatic memberGetMediaSize
Get full width, full height, plot width and plot height in cm for a specific media or template name
Public methodGetTmpCopy(String)
Get a temporary XML file for manipulation of the map template.
Public methodGetTmpCopy(String, Int32)
Get a temporary XML file for manipulation of the map template.
Public methodRefresh
Refresh the map template with any newly saved items
Public methodRenderPreview
Create a preview of the map template onto a Windows DC handle
Public methodRenderPreviewMapProduction
Render a preview for map sheet production purposes
Public methodUpdateFromTmpCopy
Update the object contents from a temporary XML file that may have bee manipulated externally.
Top
See Also