Maptitude GISDK Help

ClickRect()

Summary

Awaits user input from the system pointer and returns two coordinates that define a rectangle.

 

Syntax

corners_array = ClickRect(string ignored, real aspect_ratio)

 

Argument Contents
ignored Must be null
aspect_ratio The ratio of rectangle height to rectangle width. This aspect ratio is maintained when the user drags the rectangle

 

Returns

An array of two coordinates, as follows:

 

Element Type Contents
1 Coord Location of the lower left corner of the rectangle
2 Coord Location of the upper right corner of the rectangle

 

Notes

Error Codes

Error Type Meaning
Escape The user clicked Cancel

 

See Also

Function Summary
ClickEllipse() Awaits user input from the system pointer and returns coordinates that define an ellipse
ClickCircle() Awaits user input from the system pointer and returns a circle

 

 

©2025 Caliper Corporation www.caliper.com