 | CEDOCCurrentIfExists Method |
This method returns the Current Edited Document.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static CEDOC CurrentIfExists(
CGXNETCore gxNetShared,
int type
)
public static CEDOC CurrentIfExists(
CGXNETCore gxNetShared,
int type
)
Public Shared Function CurrentIfExists (
gxNetShared As CGXNETCore,
type As Integer
) As CEDOC
Public Shared Function CurrentIfExists (
gxNetShared As CGXNETCore,
type As Integer
) As CEDOC
public:
static CEDOC^ CurrentIfExists(
CGXNETCore^ gxNetShared,
int type
)
public:
static CEDOC^ CurrentIfExists(
CGXNETCore^ gxNetShared,
int type
)
static member CurrentIfExists :
gxNetShared : CGXNETCore *
type : int -> CEDOC
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