Maptitude GISDK Help |
Removes an annotation from a map or layout window.
DropAnnotation(string window_spec, integer id)
Argument |
Contents |
window_spec |
String containing the window type and name |
id |
ID of the annotation to be dropped |
If the ID is null, or an annotation with this ID does not exist, DropAnnotation() returns without an error.
For a full list of GISDK functions for annotations, see Freehand Items (Annotations).
DropAnnotation("Map|My First Map", 27)
Error Type |
Meaning |
NotFound |
The map or layout window does not exist |
Function |
Summary |
Adds an annotation to a map or layout window |
|
Removes annotations from a map or layout window |
|
Creates a copy of an annotation |
|
Returns the definition of an annotation |
|
Return the IDs of all annotations in a map or layout window |
|
Moves an annotation to a new location |
|
Modifies an existing annotation in a map or layout window |
©2025 Caliper Corporation | www.caliper.com |