Maptitude GISDK Help |
Awaits user input from the system pointer and returns coordinates that define an ellipse.
corners_array = ClickEllipse()
An array of two coordinates, as follows:
Element |
Type |
Contents |
1 |
Coord |
Location of the upper left corner of the rectangle defining the ellipse |
2 |
Coord |
Location of the lower right corner of the rectangle defining the ellipse |
When used in a map window, ClickEllipse() returns coordinate values in longitude and latitude.
When used in a layout window, ClickEllipse() returns coordinate values in the current page units (e.g., inches).
If the rectangle that defines the ellipse is so tiny as to likely be an inadvertent click instead of a drag, ClickEllipse() returns an array of two identical coordinates.
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 = ClickEllipse()
Error Type |
Meaning |
Escape |
The user clicked Cancel |
Function |
Summary |
Awaits user input from the system pointer and returns a circle |
|
Awaits user input from the system pointer and returns two coordinates that define a rectangle |
©2025 Caliper Corporation | www.caliper.com |