DeselectAnnotation()
Summary
Removes an annotation from the list of selected annotations.
Changes
Added in version 2020.
Syntax
DeselectAnnotation(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
DeselectAnnotation("Map|" + GetMap())
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The specified window does not exist, or the annotation id was not found in the list of selected annotations |
| LanguageError | The id type or the window spec type or specification are invalid |
See Also
| Function | Summary |
|---|---|
| DeSelectAllAnnotations() | Deselects all annotations |
| 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() | Return 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 |