User Tools

Site Tools


Table of Contents

ITGIS_LayerVectorEvents.LabelPosEvent method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerVectorEvents.LabelPosEvent | Methods

LabelPos event.

Available also on: Delphi | .NET | Java.


// 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
  procedure LabelPosEvent(
    var Translated : WordBool;
    Shape : ITGIS_Shape;
    Pos : TGIS_LabelPosition;
    var Pt : ITPoint;
    Rct : ITRect


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


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

Page Tools