Click or drag to resize

CMAP Class

MAPs are containers for MVIEW objects. A view is a 3-D translation and a clip window on a map. Graphic entities can be drawn in an MVIEW. It is recommended that the MAP class be instantiated by first creating an EMAP object and calling the Lock_EMAP function. (See the explanation on the distinction between the MAP and EMAP classes).
Inheritance Hierarchy

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public class CMAP : CHANDLE

public class CMAP : CHANDLE

The CMAP type exposes the following members.

Methods
  NameDescription
Public methodAGGList
Get a list of all aggregates in this map.
Public methodAGGListEx
Get a list of aggregates in this map based on a mode
Public methodClean
Clean up empty groups in all views in map.
Public methodCommit
Commit any changes to a map.
Public methodCopyMapToView
Copy entire map into one view in output map.
Public methodCRCMap
Generate an XML CRC of a MAP
Public methodStatic memberCreate
Create a MAP.
Public methodCreateLinked3DView
Create a 3D View in this map that is linked to a MVIEW in a 3D View file.
Public methodStatic memberCurrent
This method returns the Current map opened.
Public methodDatasetFilePathList
Get a list of all dataset file paths in this map.
Public methodDeleteEmptyGroups
Remove empty groups in the map, do not delete empty views.
Public methodDeleteView
Deletes a view in this map.
Public methodDiscard
Discard all changes made to the map.
Protected methodDispose
Releases the unmanaged resources used by the CMAP and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodDupMap
Duplicate copy of current map.
Public methodExportAllInView
Export the entire map in view units to an external format. View and Group names are removed and plane spatial coordinates will be in the units of the map.
Public methodExportAllInView2
Same as ExportAllInView_MAP, but preset the range in X and Y to export (mm)
Public methodExportAllRaster
Export the entire map to map to a non-geo raster format.
Public methodExportAreaInView
Export an area of a map in view units to an external format
Public methodExportAreaRaster
Export an area of a map to a non-geo raster format.
Public methodGetDataProj
Get the projection type of the Data view of a map.
Public methodGetLPT
Get the LPT Object of a MAP.
Public methodGetMapSize
Get the size of the Map.
Public methodGetMETA
Get the map's META
Public methodGetREG
Get the map's REG
Public methodGroupList
Get a list of all views/groups in this map.
Public methodGroupListEx
Get a list of views/groups in this map for this mode
Public methodIDuplicateView(String, String, Int32)
Duplicate an entire view
Public methodIDuplicateView(String, String, Int32, Int32)
Duplicate an entire view
Public methodiExistView
Checks to see if a view exists.
Public methodIGetClassName(String, String)
Get a class name.
Public methodIGetClassName(String, String, Int32)
Get a class name.
Public methodIGetFileName(String)
Get the name of the map.
Public methodIGetFileName(String, Int32)
Get the name of the map.
Public methodIGetMapName(String)
Get the Map Name of the Map.
Public methodIGetMapName(String, Int32)
Get the Map Name of the Map.
Public methodiPackedFiles
The number of packed files in the current map.
Public methodIUnPackFilesEx(Int32, String)
UnPack all files from map to workspace.
Public methodIUnPackFilesEx(Int32, String, Int32)
UnPack all files from map to workspace.
Public methodIUnPackFilesToFolder(Int32, String, String)
UnPack all files from map to workspace.
Public methodIUnPackFilesToFolder(Int32, String, String, Int32)
UnPack all files from map to workspace.
Public methodPackFiles
Pack all files in the map so that it can be mailed.
Public methodRemoveGeosurface
Remove all geosurface groups from a map that are linked to a specific geosurface file.
Public methodRemoveGrid
Remove references to a grid from a map.
Public methodRemoveVoxel
Remove all voxel groups from a map that are linked to a specific voxel file.
Public methodRenameView
Renames a view in this map.
Public methodRender
Render a map to file/device.
Public methodRenderBitmap
Render a map to a bitmap.
Public methodRenderViewBitmap
Render a map view to a bitmap.
Public methodRepairBrokenGeosurfaceLinks
Replaces/repairs references to a geosurface inside a map.
Public methodRepairBrokenGridLinks
Replaces/repairs references to a grid inside a map.
Public methodRepairBrokenVoxelLinks
Replaces/repairs references to a Geosoft Voxel inside a map.
Public methodResizeAll
Resize a map to the extents of all views.
Public methodResizeAllEx
ResizeAll_MAP with selection of view extent type selection.
Public methodrGetMapScale
Get the current map scale
Public methodSaveAsMXD
Save as ArcGIS MXD
Public methodSetClassName
Set a class name.
Public methodSetCurrent
Sets the current map to this map.
Public methodSetMapName
Set the Map Name of the Map.
Public methodSetMapScale
Set the current map scale
Public methodSetMapSize
Set the size of the Map.
Public methodSetMETA
Write a META to a map.
Public methodSetREG
Write a REG to a map.
Public methodStatic memberSync
Syncronize the Metadata
Public methodUnPackFiles
UnPack all files from map to workspace.
Public methodViewList
Get a list of all views in this map.
Public methodViewListEx
Get a list of views of certain types in this map
Top
See Also