| Maptitude GISDK Help |
Saves the editor image as a Windows bitmap file.
SaveEditorToBitmap(string editor_name, string bitmap_file)
| Argument | Contents |
|---|---|
| ed_name | The editor to be saved, or null for the current editor |
| bitmap_file | The path and file name of the bitmap file to be created |
The bitmap file includes only the contents of the window, not the title, border, etc.
It is preferable to use the SaveEditorToImage() function rather than this function.
SaveEditorToBitmap("My Editor", "c:\\bitmaps\\slide1.bmp")
| Error Type | Meaning |
|---|---|
| Error | Error writing to disk (e.g., out of disk space) |
| NotFound | There is no editor with the specified name |
| Function | Summary |
|---|---|
| SaveEditorToImage() | Saves the contents of the editor window to an image file |
| SaveEditorToJPEG() | Saves the editor image as a JPEG compressed file. |
| ©2025 Caliper Corporation | www.caliper.com |