SaveEditorToBitmap()

Summary

Saves the editor image as a Windows bitmap file.

Syntax

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

Notes

  • 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.

Example

SaveEditorToBitmap("My Editor", "c:\\bitmaps\\slide1.bmp")

Error Codes

Error Type Meaning
Error Error writing to disk (e.g., out of disk space)
NotFound There is no editor with the specified name

See Also

Function Summary
SaveEditorToImage() Saves the contents of the editor window to an image file
SaveEditorToJPEG() Saves the editor image as a JPEG compressed file.