DeselectAllAnnotations()
Summary
Removes all annotation ids from the list of selected annotations.
Changes
Added in version 2020.
Syntax
DeselectAllAnnotations(string window_spec)
| Argument | Contents |
|---|---|
| window_spec | The type and name of the window containing the annotation |
Notes
For a full list of GISDK functions for annotations, see Freehand Items (Annotations).
Example
DeselectAllAnnotations("Map|" + GetMap())
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The specified window does not exist |
| LanguageError | The id type or the window spec type or specification are invalid |
See Also
| Function | Summary |
|---|---|
| DeSelectAnnotation() | Deselects an annotation |
| DropAnnotation() | Removes an annotation from a map or layout window |
| DropAnnotations() | Removes annotations from a map or layout window |
| DuplicateAnnotation() | Creates a copy of an annotation |
| FindAnnotations() | Finds annotations near a coordinate |
| GetAnnotation() | Returns the definition of an annotation |
| GetAnnotations() | Returns the IDs of all annotations in a map or layout window |
| MoveAnnotation() | Moves an annotation to a new location |
| SetAnnotation() | Modifies an existing annotation in a map or layout window |