![](../icons/Help.png) | CEMAPTEMPLATECurrentIfExists Method |
This method returns the Current Edited map.
Available since Oasis montaj version: 5.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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static CEMAPTEMPLATE CurrentIfExists(
CGXNETCore gxNetShared
)
Public Shared Function CurrentIfExists (
gxNetShared As CGXNETCore
) As CEMAPTEMPLATE
public:
static CEMAPTEMPLATE^ CurrentIfExists(
CGXNETCore^ gxNetShared
)
static member CurrentIfExists :
gxNetShared : CGXNETCore -> CEMAPTEMPLATE
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
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