Click or drag to resize

GM_UtilitySelectFile Method

Displays a file dialog that allows the user to select a file to load.

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
public static GM_Error_t32 SelectFile(
	out string aFilename,
	string aFilterStr,
	string aInitialDir,
	IntPtr aParentWnd
)

Parameters

aFilename
Type: SystemString
OUT: selected filename
aFilterStr
Type: SystemString
Filter string for open dialog (NULL for default)
aInitialDir
Type: SystemString
Initial directory to start in (NULL for current)
aParentWnd
Type: SystemIntPtr
Handle (HWND) to parent window for file selection dialog

Return Value

Type: GM_Error_t32
A GM Error Code
See Also