Maptitude GISDK Help

MoveAnnotation()

Summary

Moves an annotation to a new location.

 

Syntax

MoveAnnotation(string window_spec, integer id, integer delta_x, integer delta_y)

 

Argument

Contents

window_spec

Window Specification

id

Annotation ID

delta_x

The shift to be added to the longitude/X position of the annotation

delta_y

The shift to be added to the latitude/Y position of the annotation

 

Notes

Example

MoveAnnotation("Layout|U.S. States", 123, 7200, 7200)

 

Error Codes

Error Type

Meaning

NotFound

The window or the specified annotation does not exist

 

See Also

Function

Summary

AddAnnotation()

Adds an annotation to a map or layout window

DropAnnotation()

Removes an annotation from a map or layout window

DropAnnotations()

Removes annotations from a map or layout window

DuplicateAnnotation()

Creates a copy of an annotation

GetAnnotation()

Returns the definition of an annotation

GetAnnotations()

Return the IDs of all annotations in a map or layout window

SetAnnotation()

Modifies an existing annotation in a map or layout window

 

 

©2025 Caliper Corporation www.caliper.com