Click or drag to resize

CEMAPCurrentAllowCancelOnBrowse Method

This method returns the Current Edited map, with special behaviour

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static CEMAP CurrentAllowCancelOnBrowse(
	CGXNETCore gxNetShared
)

public static CEMAP CurrentAllowCancelOnBrowse(
	CGXNETCore gxNetShared
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore

Return Value

Type: CEMAP
EMAP Object. If there is no current map, the user is prompted for a map. If the user cancels from the browse, 0 is return.
Remarks
If there is no current Current map, and the user cancels out of the browse for map dialog", then 0 is returned, which needs to be handled, otherwise the current map is returned. Normally (for Current_EMAP), the GX will be terminated on Cancel from the browse dialog.
See Also