Maptitude GISDK Help

SaveEditor()

Summary

Saves an editor to a file.

 

Syntax

SaveEditor(string editor_name, string filename [, array options])

 

Argument Contents
editor_name The name of the editor
filename The path of the file in which the editor contents are saved

 

Option Type Contents
Header Data Any A value to store in the file header, including an array

 

Notes

Example

SaveEditor("Sales Profile", "d:\\sales\\prof95.dvw")

 

// HeaderData variable defined previously

SaveEditor( , "d:\\sales\\profile.dvw", {{"Header Data", HeaderData}})

 

Error Codes

Error Type Meaning
Error The editor cannot be saved in the specified file (e.g., the disk is write-protected or out of space); orfilename is null and the editor has never been saved
NotFound The specified editor does not exist

 

See Also

Function Summary
CreateEditor() Creates a new editor window
OpenEditor() Creates an editor from a file
CloseEditor() Closes an editor window

 

 

©2025 Caliper Corporation www.caliper.com