User Tools

Site Tools


api:dk11:delphi:vcl.giscontrolscale.tgis_controlscaleprepareevent_tgis_point_tgis_point_double_string

Table of Contents

TGIS_ControlScalePrepareEvent prototype

DK11 for Delphi | VCL.GisControlScale.TGIS_ControlScalePrepareEvent | Classes | Prototypes

Event fired on preparing size of TGIS_ControlSize component.

Available also on: Delphi FMX | Python.

Syntax

// 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
);

Parameters

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
2022/11/22 01:25

Page Tools