User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layervectorevents.labelposevent_wordbool_itgis_shape_tgis_labelposition_itpoint_itrect

Table of Contents

ITGIS_LayerVectorEvents.LabelPosEvent method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerVectorEvents.LabelPosEvent | Methods

LabelPos event.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void LabelPosEvent(
  ref WordBool Translated,
  ITGIS_Shape Shape,
  TGIS_LabelPosition Pos,
  ref ITPoint Pt,
  ITRect Rct
);
' VisualBasic
Public Sub LabelPosEvent(
  ByRef Translated As WordBool,
  ByVal Shape As ITGIS_Shape,
  ByVal Pos As TGIS_LabelPosition,
  ByRef Pt As ITPoint,
  ByVal Rct As ITRect
)
// Oxygene
public
  procedure LabelPosEvent(
    var Translated : WordBool;
    Shape : ITGIS_Shape;
    Pos : TGIS_LabelPosition;
    var Pt : ITPoint;
    Rct : ITRect
  );

Parameters

Name Type Description
Translated WordBool
Shape ITGIS_Shape
Pos TGIS_LabelPosition
Pt ITPoint
Rct ITRect

Remarks

Will be fired before placing the label. By attaching it you can change the Label position on your own.

See Paint for similar example.

2020/05/07 01:04