Maptitude GISDK Help |
Restores a workspace from its file.
OpenWorkspace(string file_name, array options)
Argument |
Contents |
file_name |
Path and file name of workspace file |
No options are currently supported.
OpenWorkspace() opens files created by SaveWorkspace().
Workspace files must have an extension of .WRK.
When a workspace is opened all maps, layouts, and editor windows are restored to their original size and location. All previously open windows remain in place.
OpenWorkspace("mywork.wrk", )
OpenWorkspace("c:\\datafile\\mywork1.wrk", )
Error Type |
Meaning |
Error |
The file is not a valid workspace file |
NotFound |
The specified file does not exist |
Function |
Summary |
Saves the current workspace to a file |
©2025 Caliper Corporation | www.caliper.com |