User Tools

Site Tools


Table of Contents

TGIS_Shape.DrawLabel(TGIS_DrawBuf) method

DK11 for Delphi | GisLayerVector.TGIS_Shape.DrawLabel | Overloads | Constructors | Fields | Methods | Properties

DrawLabel immediately returning points delimiting label area.

Available also on: .NET | Java | ActiveX.


// Delphi
  procedure DrawLabel(
    var _points : TGIS_DrawBuf
  ); overload; virtual;
// C++ Builder
  virtual void DrawLabel(
    TGIS_DrawBuf* &_points
  ) /* overload */;


Name Type Description
_points TGIS_DrawBuf list of points delimiting label area;


Each drawn label is described as a sequence of delimiting points starting from left top corner of the label and ending with the same point. For arc shapes labels can be drawn for each part, so the buffer can be then a set of such sequences.

When using this operation, never call any function which uses FindFirst..FindNext (any function which iterates through the shapes using it - so never use inside an operation like Locate etc.).

See TGIS_LayerVector.DrawChart for example.


2020/12/18 01:08

Page Tools