Maptitude GISDK Help |
Removes a snapshot from a map and deletes its image file.
DeleteSnapshot(string map_name, string snapshot_name)
Argument |
Contents |
map_name |
Name of the map, or null for the current map |
snapshot_name |
Name of the snapshot |
If the named snapshot does not exist, DeleteSnapshot() does not signal an error.
// Here's a loop to delete all the snapshots from a map
snaps = GetSnapshots() // gets snapshots for the current map
for i = 1 to snaps.length do DeleteSnapshot(null, snaps[i]) end
Error Type |
Meaning |
NotFound |
The specified map does not exist |
Function |
Summary |
Stores a snapshot image of the map as currently displayed |
|
Displays a snapshot and sets the map scope to match |
|
Convert a customized image file into a map snapshot |
|
Gets the scope and image file of a snapshot |
|
Gets a list of all snapshots associated with a map |
©2025 Caliper Corporation | www.caliper.com |