Click or drag to resize
CPROJICurrentDocument Method (CGXNETCore, String, String)
Get the name and type of the loaded document with focus.

Available since Oasis montaj version: 9.2
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 void ICurrentDocument(
	CGXNETCore gxNetShared,
	ref string name,
	ref string type
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
name
Type: SystemString
Name (empty if none currently loaded)
type
Type: SystemString
Type
See Also