Click or drag to resize
CEMAPTEMPLATECurrentIfExists Method
This method returns the Current Edited map.

Available since Oasis montaj version: 5.0.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Syntax
public static CEMAPTEMPLATE CurrentIfExists()

Return Value

Type: CEMAPTEMPLATE
EMAPTEMPLATE Object to current edited map. If there is no current map, the user is not prompted for a map, and 0 is returned.
See Also