GM_UtilitySelectFile Method |
Displays a file dialog that allows the user to select a file to load.
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 SelectFile(
out string aFilename,
string aFilterStr,
string aInitialDir,
IntPtr aParentWnd
)
Public Shared Function SelectFile (
<OutAttribute> ByRef aFilename As String,
aFilterStr As String,
aInitialDir As String,
aParentWnd As IntPtr
) As GM_Error_t32
public:
static GM_Error_t32 SelectFile(
[OutAttribute] 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_t32A GM Error Code
See Also