Click or drag to resize
CEDOCCurrentIfExists Method
This method returns the Current Edited Document.

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)
Syntax
public static CEDOC CurrentIfExists(
	CGXNETCore gxNetShared,
	int type
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
type
Type: SystemInt32
<define>EDOC_TYPE</define>

Return Value

Type: CEDOC
EDOC Object to current edited document. If there is no current document, the user is not prompted for a document, and 0 is returned.
See Also