![](../icons/Help.png) | 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.GXNetXAssembly: 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.
Syntaxpublic void DestroyView(
int unload_flag
)
Public Sub DestroyView (
unload_flag As Integer
)
public:
void DestroyView(
int unload_flag
)
member DestroyView :
unload_flag : int -> unit
Parameters
- unload_flag
- Type: SystemInt32
<define>EMAP_REMOVE</define>
See Also