SaveFigureToBitmap()
Summary
Saves a figure as a Windows bitmap file.
Syntax
SaveFigureToBitmap(string figure_name, string file_name)
| Argument | Contents |
|---|---|
| figure_name | The name of the figure, or null for the current figure |
| file_name | The path and name of the file |
Notes
-
It is preferable to use the SaveFigureToImage() function rather than this function.
Example
SaveFigureToBitmap("My Chart", "c:\\myfile.bmp")
Error Codes
| Error Type | Meaning |
|---|---|
| Error | The file_name is invalid or the file could not be created |
| NotFound | The specified figure does not exist |
See Also
| Function | Summary |
|---|---|
| SaveFigureToImage() | Saves the contents of the figure window to an image file |
| SaveFigureToJPEG() | Saves the figure image as a JPEG compressed file |