Maptitude GISDK Help

GetEditorFile()

Summary

Gets the name of the file in which an editor window was last saved.

 

Syntax

filename = GetEditorFile(string editor_name)

 

Argument Contents
editor_name The name of the editor, or null for the current editor

 

Returns

The full path (string) of the file in which the editor window was last saved, or null if the editor window has never been saved.

 

Example

edfile = GetEditorFile("My Editor")

if edfile = null then ShowMessage("This editor has never been saved.")

else ShowMessage("The editor was saved in " + edfile)

 

See Also

Function Summary
SaveEditor() Saves an editor to a file
OpenEditor() Creates an editor from a file
GetMapFile() Gets the name of the file in which a map was last saved
GetLayoutFile() Gets the name of the file in which a layout was last saved

 

 

©2025 Caliper Corporation www.caliper.com