Maptitude GISDK Help |
Adds an annotation to the list of selected annotations.
SelectAnnotation(string window_spec, integer id)
Argument |
Contents |
window_spec |
Window specification, in the form "window type|window name" |
id |
Annotation ID |
Selected annotations are marked with selection handles in the map or layout window.
Some annotations cannot be selected and are not added to the selected list.
Annotations can also be added to the selected list using the pointer tool.
Use GetSelectedAnnotations() to get a list of the IDs of selected annotations.
For a full list of GISDK functions for annotations, see Freehand Items (Annotations).
win = "Map|My Map"
SelectAnnotations(win, 123)
DropSelectedAnnotations(win)
Error Type |
Meaning |
NotFound |
The window or annotation does not exist |
Function |
Summary |
Adds an annotation to a map or layout window |
|
Removes an annotation from a map or layout window |
|
Removes annotations from a map or layout window |
|
Removes selected annotations from a map or layout window |
|
Selects all annotations in a map or layout window |
|
Adds an annotation to the list of selected annotations |
|
Gets the IDs of selected annotations in a map or layout window |
©2025 Caliper Corporation | www.caliper.com |