Export a map as a file, optionally with a different map size.
| Declaration | Zeolite.h |
|---|---|
| Implementation | Zeolite.cpp |
bool zmap_ExportMap(ZMAP hMap, const char* lpFileName, ZFORMAT hFormat, long nx, long ny);
| Name | Type | Comment |
|---|---|---|
| hMap | ZMAP | A ZMAP handle to the map to be exported. |
| lpFileName | const char* | A C-style string containing the name of the output file. |
| hFormat | ZFORMAT | A ZFORMAT handle to the format to be used to save the file. If null, the format is guessed from the file extension. |
| nx | long | The desired width of the exported file (in pixels). |
| ny | long | The desired height of the exported file (in pixels). |
False if an error occurred, and true otherwise.
zmap_SaveFile stores the filename and format and sets saved/modified flags, whereas zmap_ExportMap does no such thing. Furthermore, zmap_ExportMap can export at a different map size, and may also be used to save mosaics as a single map file.