SaveFigure()

Summary

Saves a figure to a file.

Syntax

SaveFigure(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

Example

SaveFigure("My Chart", "c:\\myfile.fig")

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
CloseFigure() Closes a figure window
CreateFigure() Creates a new window containing a figure
OpenFigure() Creates a figure window from a file
SaveFigureToBitmap() Saves a figure as a Windows bitmap file
SaveFigureToJPEG() Saves the figure image as a JPEG compressed file