Maptitude GISDK Help

GetSnapshot()

Summary

Gets the scope and image file of a snapshot.

 

Syntax

snapshot_info = GetSnapshot(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

 

Returns

An array of two elements:

 

Element Type Contents
1 String Full path and file name of the snapshot
2 Scope The scope of the snapshot

 

Error Codes

Error Type Meaning
NotFound The specified map or snapshot does not exist

 

See Also

Function Summary
CreateSnapshot() Stores a snapshot image of the map as currently displayed
ShowSnapshot() Displays a snapshot and sets the map scope to match
GetSnapshots() Gets a list of all snapshots associated with a map
ConstructSnapshot() Converts a customized image file into a map snapshot
DeleteSnapshot() Removes a snapshot from a map and deletes its image file

 

 

©2025 Caliper Corporation www.caliper.com