Click or drag to resize

CARCMAPGetCurrentDocumentInfo Method (String, String, String, Int32)

Get some info on the current MXD in ArcMap and selected layer (if any)

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void GetCurrentDocumentInfo(
	ref string mxd,
	ref string layer,
	ref string map,
	int strings_length
)

public static void GetCurrentDocumentInfo(
	ref string mxd,
	ref string layer,
	ref string map,
	int strings_length
)

Parameters

mxd
Type: SystemString
MXD filename
layer
Type: SystemString
Selected Layer name (If a layer is selected)
map
Type: SystemString
Dataframe name containing selected layer (If a layer is selected)
strings_length
Type: SystemInt32
Size of strings
See Also