Click or drag to resize

GM_Layer_tLoadGenericAsciiTextLayer Method

Loads a new layer from a simple ASCII text file file. A pointer to the layer is stored for use in later calls.

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
public static GM_Layer_t LoadGenericAsciiTextLayer(
	string aFilename,
	GM_LoadFlags_t32 aLoadFlags,
	GM_AsciiFormatInfo_t aFormatInfo,
	GM_Projection_t aProj
)

Parameters

aFilename
Type: SystemString
IN: filename of ASCII file to load
aLoadFlags
Type: GlobalMapperGM_LoadFlags_t32
IN: load flags
aFormatInfo
Type: GlobalMapperGM_AsciiFormatInfo_t
(GM_AsciiFormatInfo_t*) IN: optional format info (use NULL to prompt user)
aProj
Type: GlobalMapperGM_Projection_t
IN: optional projection to use for file (use NULL to prompt user)

Return Value

Type: GM_Layer_t
The Loaded Layer
See Also