DropSelectedAnnotations()
Summary
Removes selected annotations from a map or layout window.
Syntax
DropSelectedAnnotations(string window_spec)
| Argument | Contents |
|---|---|
| window_spec | String that contains the window type and name |
Notes
-
For a full list of GISDK functions for annotations, see Freehand Items (Annotations).
Example
DropSelectedAnnotations("Map|My Map")
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The map or layout window does not exist. |
See Also
| Function | Summary |
|---|---|
| DropAnnotation() | Removes an annotation from a map or layout window |
| DropAnnotations() | Removes annotations from a map or layout window |
| SelectAnnotation() | Adds an annotation to the list of selected annotations |
| SelectAllAnnotations() | Selects all annotations in a map or layout window |
| GetSelectedAnnotations() | Gets the IDs of selected annotations in a map or layout window |