DK for Delphi | FMX.GisControlScale.TGIS_ControlScalePrepareEvent | Classes | Prototypes
Event fired before the map scale distance and display units are finalized.
// Delphi type TGIS_ControlScalePrepareEvent = procedure ( const _ptA : TGIS_Point; const _ptB : TGIS_Point; var _distance : Double; var _units : String ) of object;
// C++ Builder typedef void (_closure *TGIS_ControlScalePrepareEvent)( TGIS_Point* const _ptA, TGIS_Point* const _ptB, double &_distance, UnicodeString &_units );
| Name | Type | Description |
|---|---|---|
| _ptA | TGIS_Point | Starting point of the measured scale segment. |
| _ptB | TGIS_Point | Ending point of the measured scale segment. |
| _distance | Double | Computed distance for the scale display; may be adjusted by the event handler. |
| _units | String | Display units string for the scale output; may be adjusted by the event handler. |