Maptitude GISDK Help

SaveMapToMetafile()

Summary

Saves map graphics to a Windows Enhanced metafile.

 

Syntax

SaveMapToMetafile(string map_name, string emf_name, array options)

 

Argument

Contents

map_name

The map to be saved as a metafile, or null for the current map

emf_name

The path and file name of the Windows Enhanced metafile to be created

 

Option

Type

Contents

Transparent

Boolean

If "True" the background will not be "erased" before drawing to the metafile (by default, the background is erased)

 

Notes

Example

SaveMapToMetafile( , "c:\\graphics\\world.emf", )

 

Error Codes

Error Type

Meaning

Error

The filename is invalid or could not be created

NotFound

The specified map does not exist

 

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

SaveMapToJPEG()

Saves a map image as a JPEG compressed file

 

 

©2025 Caliper Corporation www.caliper.com