Maptitude GISDK Help

GetLayoutSaveFlag()

Summary

Determines whether a layout has changed since it was last saved to a file.

 

Syntax

flag = GetLayoutSaveFlag(string layout_name)

 

Argument

Contents

layout_name

The name of the layout, or null for the current layout

 

Returns

The string "True" if the layout has changed and needs to be saved; the string "False" if it has not changed since it was last loaded from or saved to a file.

 

Notes

Example

if GetLayoutSaveFlag() = "False" then goto ok_to_quit

// Prompt the user to save the contents before quitting...

 

Error Codes

Error Type

Meaning

NotFound

The specified layout window does not exist

 

See Also

Function

Summary

GetMapSaveFlag()

Determines whether a map has changed since it was last saved to a file

GetEditorSaveFlag()

Determines whether an editor has changed since it was last saved to a file

SaveLayout()

Saves a layout to a file

OpenLayout()

Creates a layout from a file

 

 

©2025 Caliper Corporation www.caliper.com