GM_UtilityRunScript Method |
Runs a Global Mapper script (.gms) or workspace (.gmw), either from a file or from script text
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_LayerList_t RunScript(
string aFilenameOrText,
GM_LoadFlags_t32 aLoadFlags,
Object aReserved
)
Public Shared Function RunScript (
aFilenameOrText As String,
aLoadFlags As GM_LoadFlags_t32,
aReserved As Object
) As GM_LayerList_t
public:
static GM_LayerList_t^ RunScript(
String^ aFilenameOrText,
GM_LoadFlags_t32 aLoadFlags,
Object^ aReserved
)
Parameters
- aFilenameOrText
- Type: SystemString
IN: string with full path of script or the actual text of the script - aLoadFlags
- Type: GlobalMapper.TypesGM_LoadFlags_t32
IN: Extra flags for load behavior - aReserved
- Type: SystemObject
IN: Reserved for future use, must be NULL
Return Value
Type:
GM_LayerList_tA GM Error Code
See Also