Click or drag to resize

CEMAP Class

The EMAP class provides access to a map as displayed within Oasis montaj, but (usually) does not change data within the map itself. It performs functions such as setting the currently displayed area, or drawing "tracking" lines or boxes on the map (which are not part of the map itself).
Inheritance Hierarchy

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public class CEMAP : CHANDLE

public class CEMAP : CHANDLE

The CEMAP type exposes the following members.

Methods
  NameDescription
Public methodActivateGroup
Activates a group and associated tools.
Public methodActivateView
Activates a view and associated tools.
Public methodCopyToClip
Copy entire map to clipboard.
Public methodStatic memberCreateVirtual
Makes this EMAP object the current active object to the user.
Public methodStatic memberCurrent
This method returns the Current Edited map.
Public methodStatic memberCurrentIfExists
This method returns the Current Edited map.
Public methodStatic memberCurrentNoActivate
This method returns the Current Edited map.
Public methodDestroyView
Removes the view from the workspace.
Protected methodDispose
Releases the unmanaged resources used by the CEMAP and optionally releases the managed resources
(Overrides CHANDLE.Dispose(Boolean).)
Public methodDrawLine
Draws a line on the current map.
Public methodDrawPLY
Draws a polygon on the current map.
Public methodDrawRect
Draws a rect on the current map.
Public methodDrawRect3D
Plot a square symbol on a section view.
Public methodDropMapClipData
Drop Map clipboard data on this EMAP
Public methodFontLST
List all Windows and geosoft fonts.
Public methodGetAOIArea
Get the area of interest.
Public methodGetCurPoint
Returns the coordinates of the currently selected point in view coordinates
Public methodGetCurPointMM
Returns the coordinates of the currently selected point in mm on map
Public methodGetCursor
Returns the coordinates of the last known cursor location
Public methodGetCursorMM
Returns the coordinates of the last known cursor location in mm on map.
Public methodGetDisplayArea
Get the area you are currently looking at.
Public methodGetDisplayAreaRaw
Get the area you are currently looking at in raw map units
Public methodGetE3DV
Get an E3DV from the EMAP
Public methodGetMapLayoutProps
Get the base layout view properties.
Public methodGetMapSnap
Get current snapping distance in MM
Public methodGetSelectedVertices
Get the verticies of selected object
Public methodGetViewIPJ
Get a view's IPJ.
Public methodGetWindowPosition
Get the map window's position and dock state
Public methodiChangeCurrentView
Change the current working view.
Public methodiCreateGroupSnapshot
Loads an LST with the current view/group names existing in a map. Typically used to track group changes that are about to occur.
Public methodiDigitize
Digitise points from the current map and place in a WA.
Public methodiDigitize2
Digitise points from the current map and place in VVs.
Public methodiDigitizePeaks
Digitise points from the current map and place in VVs.
Public methodiDigitizePolygon
Same as iDigitze2_EMAP, but automatically close polygons.
Public methodiDragDropEnabled
Checks if drag-and-drop enabled for the map
Public methodIGet3DViewName(String)
Get the name of a 3D view if the current view is 3D.
Public methodIGet3DViewName(String, Int32)
Get the name of a 3D view if the current view is 3D.
Public methodiGetBox
Returns the coordinates of a user selected box.
Public methodiGetBox2
Returns the coordinates of a user selected box in a warped view.
Public methodIGetCurrentGroup(String)
Get the current group name.
Public methodIGetCurrentGroup(String, Int32)
Get the current group name.
Public methodIGetCurrentView(String)
Get the current view name.
Public methodIGetCurrentView(String, Int32)
Get the current view name.
Public methodiGetGrid
Position and size a grid on a map.
Public methodiGetLine
Returns the end points of a line.
Public methodiGetLineEx
Returns the end points of a line.
Public methodiGetLineXYZ
Returns the end points of a line in X,Y and Z
Public methodStatic memberiGetMapsLST
Load the file names of open maps into a LST.
Public methodIGetName(String)
Get the name of the map object of this EMAP.
Public methodIGetName(String, Int32)
Get the name of the map object of this EMAP.
Public methodiGetPoint
Returns the coordinates of a user selected point.
Public methodiGetPoint3D
Returns the coordinates of a user selected point.
Public methodiGetPointEx
Returns the coordinates of a user selected point.
Public methodiGetPolyLine
Returns a polyline.
Public methodiGetPolyLineXYZ
Returns a polyline.
Public methodiGetRect
Returns the coordinates of a user selected box starting at a corner.
Public methodiGetWindowState
Retrieve the current state of the map window
Public methodStatic memberiHaveCurrent
This method returns whether a current map is loaded
Public methodStatic memberiIGetSpecifiedMapName(CGXNETCore, String, String, String)
Find a loaded map that has a setting in its reg.
Public methodStatic memberiIGetSpecifiedMapName(CGXNETCore, String, String, String, Int32)
Find a loaded map that has a setting in its reg.
Public methodiIs3DView
Is the current view a 3D view.
Public methodiIsGrid
Is the map a grid map?
Public methodiIsLocked
Checks if map is locked
Public methodStatic memberiLoaded
Returns 1 if a map is loaded .
Public methodiPackedFiles
The number of packed files in the map.
Public methodiReadOnly
Checks if a map is currently opened in a read-only mode.
Public methodiRealizeGroupSnapshot
The LST passed in must contain View\Group strings in the Name field only. The function will compare with a more current LST and zoom the map to the new entry.
Public methodiSetCurrentView
Set the current working view.
Public methodiTrackPoint
Get point without prompt or cursor change with tracking
Public methodStatic memberLoad
Loads maps into the editor.
Public methodStatic memberLoadControl
Version of Load_EMAP that can be used to load a database via subclassing into a Windows control.
Public methodStatic memberLoadNoActivate
Loads documents into the workspace
Public methodStatic memberLoadWithView
Load an EMAP with the view from a current EMAP.
Public methodStatic memberLoadWithViewControl
Version of LoadWithView_EDB that can be used to load a database via subclassing into a Windows control.
Public methodLock
This method locks the Edited map.
Public methodMakeCurrent
Makes this EMAP object the current active object to the user.
Public methodPrint
Print the current map to current printer.
Public methodRedraw
Redraw the map immediately.
Public methodStatic memberReloadGrid
Reloads a grid document.
Public methodSelectGroup
Select a group.
Public methodSetAOIArea
Set the area of interest.
Public methodSetDisplayArea
Set the area you wish to see.
Public methodSetDragDropEnabled
Set whether drag-and-drop is enabled for the map.
Public methodSetMapLayoutProps
Set the base layout view properties.
Public methodSetMapSnap
Set current snapping distance in MM
Public methodSetRedrawFlag
Set the redraw flag.
Public methodSetViewportMode
Set the viewport mode.
Public methodSetWindowPosition
Get the map window's position and dock state
Public methodSetWindowState
Changes the state of the map window
Public methodStartShading(String, String, Double, Double, Double, Double, Double, Int32, IDisposable)
Returns the fast-shadow SHD object and the current shading parameters
Public methodStartShading(String, Int32, String, Int32, Double, Double, Double, Double, Double, Int32, IDisposable)
Returns the fast-shadow SHD object and the current shading parameters
Public methodStatic memberUnLoad
Unloads a MAP.
Public methodStatic memberUnLoadAll
Unloads all opened maps
Public methodStatic memberUnLoadVerify
Unloads an edited map, optional prompt to save.
Public methodUnLock
This method unlocks the Edited map.
Top
See Also