Maptitude GISDK Help

SaveLayoutToMetafile()

Summary

Saves layout graphics to a Windows Enhanced metafile.

 

Syntax

SaveLayoutToMetafile(string figure_name, string emf_name)

 

Argument

Contents

layout_name

The name of the layout window whose contents are to be saved as a metafile. If figure_name is null, the current figure will be saved

emf_name

The path and/or filename for the Windows Enhanced metafile to be created

 

Notes

Example

SaveLayoutToMetafile(, "newlayout.emf")

 

Error Codes

Error Type

Meaning

Error

The filename is invalid or could not be created

NotFound

The specified layout does not exist

 

See Also

Function

Summary

CopyLayoutToClipboard()

Copies a layout to the Windows clipboard

SaveLayoutToBitmap()

Saves the layout image as a Windows bitmap

SaveLayoutToJPEG()

Saves a layout image as a JPEG compressed file

SaveMapToMetafile()

Saves map graphics to a Windows Enhanced metafile

 

 

©2025 Caliper Corporation www.caliper.com