Maptitude GISDK Help

SelectAnnotation()

Summary

Adds an annotation to the list of selected annotations.

 

Syntax

SelectAnnotation(string window_spec, integer id)

 

Argument Contents
window_spec Window specification, in the form "window type|window name"
id Annotation ID

 

Notes

Example

win = "Map|My Map"

SelectAnnotations(win, 123)

DropSelectedAnnotations(win)

 

Error Codes

Error Type Meaning
NotFound The window or annotation 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
DropSelectedAnnotations() Removes selected annotations from a map or layout window
SelectAllAnnotations() Selects all annotations in a map or layout window
SelectAnnotation() Adds an annotation to the list of selected annotations
GetSelectedAnnotations() Gets the IDs of selected annotations in a map or layout window

 

 

©2025 Caliper Corporation www.caliper.com