| Maptitude GISDK Help |
Removes selected annotations from a map or layout window.
DropSelectedAnnotations(string window_spec)
| Argument | Contents |
|---|---|
| window_spec | String that contains the window type and name |
For a full list of GISDK functions for annotations, see Freehand Items (Annotations).
DropSelectedAnnotations("Map|My Map")
| Error Type | Meaning |
|---|---|
| NotFound | The map or layout window does not exist. |
| 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 |
| ©2025 Caliper Corporation | www.caliper.com |