Click or drag to resize

CARCMAPGetCurrentDocumentInfo Method (String, String, String)

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
)

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

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)
See Also