Maptitude GISDK Help |
Awaits user input from the system pointer and returns a coordinate.
user_coord = ClickCoord()
A coordinate.
When used in a map window, ClickCoord() returns longitude and latitude values.
When used in a layout window, ClickCoord() returns layout X and Y axis values in the current page units.
This function should be called only from a macro that is activated from the menus, or from a tool in a toolbox or toolbar. Calling it from any other type of dialog box often causes confusion about which window is active (the dialog box, versus the map).
pt = ClickCoord()
Error Type |
Meaning |
Escape |
The user clicked Cancel |
NotFound |
The input coordinate is invalid (e.g., off the world) |
Function |
Summary |
Awaits user input from the system pointer and returns a circle |
|
Awaits user input from the system pointer and returns an array of coordinates that define a line |
|
Awaits user input from the system pointer and returns two coordinates that define a rectangle |
|
Awaits user input of a rectangle on the map window, and returns a scope |
©2025 Caliper Corporation | www.caliper.com |