![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static CEDOC CurrentIfExists(
CGXNETCore gxNetShared,
int type
)
Public Shared Function CurrentIfExists (
gxNetShared As CGXNETCore,
type As Integer
) As CEDOC
public:
static CEDOC^ CurrentIfExists(
CGXNETCore^ gxNetShared,
int type
)
static member CurrentIfExists :
gxNetShared : CGXNETCore *
type : int -> CEDOC
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