DK11 for Delphi | VCL.GisControlScale.TGIS_ControlScalePrepareEvent | Classes | Prototypes
Event fired on preparing size of TGIS_ControlSize component.
Available also on: Delphi FMX | Python.
// 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 distance measurement |
_ptB | TGIS_Point | ending of distance measurement |
_distance | Double | computed distance |
_units | String | string with map units |