Click or drag to resize
CPROJICurrentDocument Method (CGXNETCore, String, Int32, String, Int32)
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,
	int size_name,
	ref string type,
	int size_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
size_type
Type: SystemInt32
Maximum type length
See Also