BringAnnotationToFront()
Summary
Moves an annotation in front of all other annotations.
Syntax
id = BringAnnotationToFront(string window_spec, integer id)
| Argument | Contents |
|---|---|
| window_spec | The type and name of the window containing the annotation |
| id | Annotation ID |
Returns
The integer id of the annotation that was previously in front, or null if the annotation is not found or is already in front.
Notes
-
For a full list of GISDK functions for annotations, see Freehand Items (Annotations).
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The annotation ID does not exist in the specified window |
See Also
| Function | Summary |
|---|---|
| PushAnnotationToBack() | Moves an annotation behind all other annotations |