Maptitude GISDK Help

GetAnnotations()

Summary

Return the IDs of all annotations in a map or layout window.

 

Syntax

list = GetAnnotations(string window_spec)

 

Argument Contents
window_spec Window type and name

 

Returns

An array of integer IDs of the annotations, or null if no annotations exist.

 

Notes

Error Codes

Error Type Meaning
NotFound The specified window does not exist

 

See Also

Function Summary
AddAnnotation() Adds an annotation to a map or layout window
DropAnnotation() Removes an annotation from a map or layout window
DropAnnotations() Removes annotations from a map or layout window
GetAnnotation() Return the definition of an annotation
GetSelectedAnnotations() Gets the IDs of selected annotations in a map or layout window
MoveAnnotation() Moves an annotation to a new location
SelectAnnotation() Adds an annotation to the list of selected annotations
SelectAllAnnotations() Selects all annotations in a map or layout window
SetAnnotation() Modifies an existing annotation in a map or layout window

 

 

©2025 Caliper Corporation www.caliper.com