Click or drag to resize
CPROJICurrentDocumentOfType Method (CGXNETCore, String, Int32, String)
Get the name of a loaded document of a specific type.

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 ICurrentDocumentOfType(
	CGXNETCore gxNetShared,
	ref string name,
	int size_name,
	string type
)

Parameters

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