Click or drag to resize

CARCMAPLoadShape Method

Load a SHP file to the current data frame

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static void LoadShape(
	CGXNETCore gxNetShared,
	string file,
	string layer_prefix,
	string layer_suffix
)

public static void LoadShape(
	CGXNETCore gxNetShared,
	string file,
	string layer_prefix,
	string layer_suffix
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
file
Type: SystemString
File Name
layer_prefix
Type: SystemString
Layer Name Prefix: An underscore is added automatically
layer_suffix
Type: SystemString
Layer Name Suffix An underscore is added automatically
Remarks
The input layer name is created using the (optional) prefix and suffix as follows: Prefix_NAME_Suffix
See Also