Maptitude GISDK Help

SaveLayoutToJPEG()

Summary

Saves a layout image as a JPEG compressed file.

 

Syntax

SaveLayoutToJPEG(string layout_name, string jpeg_name, int quality)

 

Argument

Contents

layout_name

The name of the layout, or null for the current layout

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

SaveLayoutToJPEG(, "layout.jpg", 75)

 

Error Codes

Error Type

Meaning

Error

An error occurred saving the file

NotFound

The layout was not found in the workspace

 

See Also

Function

Summary

SaveLayoutToImage()

Saves the contents of the layout window to an image file

SaveLayoutToBitmap()

Saves the layout image as a Windows bitmap file

 

 

©2025 Caliper Corporation www.caliper.com