Click or drag to resize

CEMAPTEMPLATE Class

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

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

public class CEMAPTEMPLATE : CHANDLE

The CEMAPTEMPLATE type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateVirtual
Makes this EMAPTEMPLATE object the current active object to the user.
Public methodStatic memberCurrent
This method returns the Current Edited map template.
Public methodStatic memberCurrentIfExists
This method returns the Current Edited map.
Public methodStatic memberCurrentNoActivate
This method returns the Current Edited map template.
Protected methodDispose
Releases the unmanaged resources used by the CEMAPTEMPLATE and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodGetDisplayArea
Get the area you are currently looking at.
Public methodGetTemplateLayoutProps
Get the base layout view properties.
Public methodGetWindowPosition
Get the map window's position and dock state
Public methodiDragDropEnabled
Checks if drag-and-drop is enabled for the map
Public methodiGetBox
Returns the coordinates of a user selected box.
Public methodiGetItemSelection(String)
Gets info about the current selected item
Public methodiGetItemSelection(String, Int32)
Gets info about the current selected item
Public methodiGetLine
Returns the end points of a line.
Public methodStatic memberiGetMapTemplatesLST
Load the file names of open maps into a LST.
Public methodIGetName(String)
Get the name of the map object of this EMAPTEMPLATE.
Public methodIGetName(String, Int32)
Get the name of the map object of this EMAPTEMPLATE.
Public methodiGetPoint
Returns the coordinates of a user selected point.
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 methodiIsLocked
Is this MapTemplate locked
Public methodStatic memberiLoaded
Returns 1 if a map is loaded .
Public methodiReadOnly
Checks if a map is currently opened in a read-only mode.
Public methodiTrackPoint
Get point without prompt or cursor change with tracking
Public methodStatic memberLoad
Loads maps into the editor.
Public methodStatic memberLoadNoActivate
Loads documents into the workspace
Public methodLock
This method locks the Edited map.
Public methodMakeCurrent
Makes this EMAPTEMPLATE object the current active object to the user.
Public methodSetDisplayArea
Set the area you wish to see.
Public methodSetDragDropEnabled
Set whether drag-and-drop is enabled for the map.
Public methodSetItemSelection
Sets the current selected item
Public methodSetTemplateLayoutProps
Set the base layout view properties.
Public methodSetWindowPosition
Get the map window's position and dock state
Public methodSetWindowState
Changes the state of the map window
Public methodStatic memberUnLoad
Unloads a map template.
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