The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home GeoPack GeoMap Class TGeoMap Events OnSelectRect | |||||||||
See also: TSelectRectEvent, MouseAction | |||||||||
OnSelectRect |
|||||||||
The event OnSelectRect is triggered when the left mouse button is released while the property MouseAction is maSelectRect. The returned coordinates are either geographical coordinates or pixel coordinates. Which kind of coordinates is returned is indicated by the parameter Layer. If Layer is zero the parameters LoX, LoY, HiX, and HiY specify the pixel coordinates, if Layer is 1 the geographic coordinates of the lower left and upper right corner of the selection rectangle are returned.
|