can i save file using SDK?

hello,
i have really stupid question. .
can i save my work as a project using global mapper? if yes, can u refer me the path. Coz my application has alot of marking, and if i couldnt save it as a project the user has to do all the work from zero the moment he closes the program. plz let me know the direction.
for example, when i am using adobe photoshop or AutoCAD, i can reuse the file accordingly. does global mapper SDK gives this facility?
please help
i have really stupid question. .
can i save my work as a project using global mapper? if yes, can u refer me the path. Coz my application has alot of marking, and if i couldnt save it as a project the user has to do all the work from zero the moment he closes the program. plz let me know the direction.
for example, when i am using adobe photoshop or AutoCAD, i can reuse the file accordingly. does global mapper SDK gives this facility?
please help
Comments
In Global Mapper, the user's current maps, layers, display options, etc., can be saved in a file called a workspace. You can add functionality in your program to load and save a workspace using the following API functions (found in GlobalMapperInterface.h):
Let me know if you have any additional questions.
Cheers,
Bob
All of those API functions are available in the GlobalMapperDLLWrapper namespace in C#, although they don't seem to be used in the sample program. If you want to save a workspace, the easiest function to use is:
You will need to prompt the user for a file name (I assume you already have code to do this...you should be able to adapt code you are using to prompt the user for layer data), then use that file name to save the workspace:
Cheers,
Bob
Saving a TIFF image is not the same as saving a workspace. The workspace contains information about the map styles, map projection, loaded layers, etc. If you save a TIFF, this just saves an image of the current data. To save data as a TIFF image, use:
Use GM_Export_GeoTIFF for the aFormat parameter.
Cheers,
Bob