Maptitude GISDK Help |
Finds the annotations closest to a coordinate
Added in version 2020.
ids = FindAnnotations(string window_spec, coord c)
Argument |
Contents |
window_spec |
The type and name of the window containing the annotation |
c |
A coordinate |
An array of annotation ids.
FindAnnotations() returns null if no annotation is found.
The annotations found depends on the current map scope. At larger scopes more annotations are found for the same coordinate.
For a full list of GISDK functions for annotations, see Freehand Items (Annotations).
annotation_ids = FindAnnotaions("Map|" + GetMap(), Coord() )
Error Type |
Meaning |
NotFound |
The specified window does not exist |
LanguageError |
The coodinate type or the window spec type or specification are invalid |
Error |
The coordinate is null |
Function |
Summary |
Deselects all annotations |
|
Deselects an annotation |
|
Removes an annotation from 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 |