Maptitude GISDK Help |
Saves layout graphics to a Windows Enhanced metafile.
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 |
If only the file name is given, the .emf file is saved to Maptitude's program directory.
The output .emf file is a "placeable" metafile, with the header required by most applications that read metafiles.
SaveLayoutToMetafile(, "newlayout.emf")
Error Type |
Meaning |
Error |
The filename is invalid or could not be created |
NotFound |
The specified layout does not exist |
Function |
Summary |
Copies a layout to the Windows clipboard |
|
Saves the layout image as a Windows bitmap |
|
Saves a layout image as a JPEG compressed file |
|
Saves map graphics to a Windows Enhanced metafile |
©2025 Caliper Corporation | www.caliper.com |