Maptitude GISDK Help

SaveLayoutToBitmap()

Summary

Saves the layout image as a Windows bitmap file.

 

Syntax

SaveLayoutToBitmap(string map_name, string bitmap_file)

 

Argument

Contents

layout_name

The layout to be saved, or null for the current layout

bitmap_file

The path and file name of the bitmap file to be created

 

Notes

Example

SaveLayoutToBitmap("My Layout", "c:\\bitmaps\\slide1.bmp")

 

Error Codes

Error Type

Meaning

Error

Error writing to disk (e.g., out of disk space)

NotFound

The specified layout does not exist

 

See Also

Function

Summary

SaveLayoutToImage()

Saves the contents of the layout window to an image file

SaveLayoutToJPEG()

Saves a layout image as a JPEG compressed file

 

 

©2025 Caliper Corporation www.caliper.com