![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static void ICurrentDocument(
CGXNETCore gxNetShared,
ref string name,
int size_name,
ref string type,
int size_type
)
Public Shared Sub ICurrentDocument (
gxNetShared As CGXNETCore,
ByRef name As String,
size_name As Integer,
ByRef type As String,
size_type As Integer
)
public:
static void ICurrentDocument(
CGXNETCore^ gxNetShared,
String^% name,
int size_name,
String^% type,
int size_type
)
static member ICurrentDocument :
gxNetShared : CGXNETCore *
name : string byref *
size_name : int *
type : string byref *
size_type : int -> unit
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