Maptitude GISDK Help

SaveMapToJPEG()

Summary

Saves a map image as a JPEG compressed file.

 

Syntax

SaveMapToJPEG(string map_name, string jpeg_name, int quality)

 

Argument Contents
map_name The name of the map, or null for the current map
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

SaveMapToJPEG(, "map.jpg", 75)

 

Error Codes

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

 

See Also

Function Summary
SaveMapToBitmap() Saves the map image as a Windows bitmap file
SaveMapToImage() Saves the contents of the map window to an image file

 

 

©2025 Caliper Corporation www.caliper.com