DK for Delphi | VCL.GisControlScale.TGIS_ControlScalePrepareEvent | Classes | Prototypes
Event fired before TGIS_ControlScale prepares map scale measurement values for display or printing.
Available also on: Delphi FMX.
// 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 distance measurement. |
| _ptB | TGIS_Point | Ending point of the distance measurement. |
| _distance | Double | Computed distance value that can be adjusted by the event handler. |
| _units | String | Units string for the measured distance that can be adjusted by the event handler. |