Maptitude GISDK Help

SaveFigureToJPEG()

Summary

Saves a figure image as a JPEG compressed file.

 

Syntax

SaveFigureToJPEG(string figure_name, string jpeg_name, int quality)

 

Argument Contents
figure_name The name of the figure, or null for the current figure
jpeg_name The path and file name of the JPEG file to be created
quality A number between 1 and 100 representing the quality of the desired image

 

Notes

Example

SaveFigureToJPEG(, "figure.jpg", 75)

 

Error Codes

Error Type Meaning
Error An error has occurred saving the file
NotFound The figure was not found in the workspace

 

See Also

Function Summary
SaveFigureToImage() Saves the contents of the figure window to an image file
SaveFigureToBitmap() Saves a figure as a Windows bitmap file

 

 

©2025 Caliper Corporation www.caliper.com