| Maptitude GISDK Help |
Gets the name of the file in which a layout was last saved.
file = GetLayoutFile(string layout_name)
| Argument | Contents |
|---|---|
| layout_name | The name of the layout, or null for the current layout. |
A string indicating the name of the file from which the layout was loaded, or to which to layout was most recently saved. If the layout has never been saved to a file, GetLayoutFile() returns null.
// Display the source of a layout
file = GetLayoutFile("Page Spread")
ShowMessage("The page spread layout is from the file: " + file)
| Error Type | Meaning |
|---|---|
| NotFound | The specified layout does not exist |
| Function | Summary |
|---|---|
| SaveLayout() | Saves a layout to a file |
| OpenLayout() | Creates a layout from a file |
| GetLayoutSaveFlag() | Determines whether a layout has changed since it was last saved to a file |
| ©2025 Caliper Corporation | www.caliper.com |