| Maptitude GISDK Help |
Retrieves an array stored with a window.
Additional classes added for Version 5.0.
array = GetWindowData(string window_name)
| Argument | Contents |
|---|---|
| window_name | String of the form "window type|window name" |
A copy of the array stored in the window, or null if no array has been stored.
If window_name is null, gets the data for the current window.
folder = RunMacro("G30 Tutorial Folder")
OpenWorkspace(folder + "NElayers.wrkz", null)
mp1 = GetMap()
SetWindowData("Map|" + mp1, {1, 2, 3})
info = GetWindowData("Map|" + mp1)
| Error Type | Meaning |
|---|---|
| NotFound | There is no window of the designated type and name |
| Function | Summary |
|---|---|
| SetWindowData() | Stores an array with a window |
| ©2025 Caliper Corporation | www.caliper.com |