| Maptitude GISDK Help |
Return the IDs of all annotations in a map or layout window.
list = GetAnnotations(string window_spec)
| Argument | Contents |
|---|---|
| window_spec | Window type and name |
An array of integer IDs of the annotations, or null if no annotations exist.
For a full list of GISDK functions for annotations, see Freehand Items (Annotations).
| Error Type | Meaning |
|---|---|
| NotFound | The specified window does not exist |
| 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 |