ClickCurve()

Summary

Awaits user input of control points from the system pointer and returns an array of coordinates that define a curve.

Syntax

curve = ClickCurve()

Returns

An array of coordinates that define the curve.

Notes

  • When used in a map window, ClickCurve() returns coordinate values in longitude and latitude.

  • When used in a layout window, ClickCurve() returns coordinates in the current page units (e.g. inches).

  • 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).

Example

curve = ClickCurve()

Error Codes

Error Type Meaning
Escape The user hit Escape
NotFound A point or points fell outside the defined projection space (off the earth)

See Also

Function Summary
ClickLine() Awaits user input from the system pointer and returns two coordinates that define a line
ClickPolyline() Awaits user input from the system pointer and returns an array of coordinates that define a line