Maptitude GISDK Help

ClickLine()

Summary

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

 

Syntax

coord_array = ClickLine()

 

Returns

An array of two coordinates, the beginning and end points of the line.

 

Element Type Contents
1 Coord Beginning point of the line
2 Coord Ending point of the line

 

Notes

Example

cpts = ClickLine()

 

Error Codes

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

 

See Also

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

 

 

©2025 Caliper Corporation www.caliper.com