User Tools

Site Tools


api:dk11:delphi:vcl.giscontrolscale.tgis_controlscaleprepareevent_tgis_point_tgis_point_double_string

Table of Contents

TGIS_ControlScalePrepareEvent prototype

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.

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 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.
2026/07/11 00:48

Page Tools