Click or drag to resize
CEMAPDestroyView Method
Removes the view from the workspace.

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.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Can only be run in interactive mode. After this call the EMAP object will become invalid. If this is the last view on the document and the document has been modified the map will be unloaded and optionally saved depending on the <define>EMAP_REMOVE</define> parameter.
Syntax
public void DestroyView(
	int unload_flag
)

Parameters

unload_flag
Type: SystemInt32
<define>EMAP_REMOVE</define>
See Also