User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.drawlabel_tgis_drawbuf

Table of Contents

TGIS_Shape.DrawLabel(TPoint[]) method

DK11 for .NET | TatukGIS.NDK.TGIS_Shape.DrawLabel | Overloads | Constructors | Fields | Methods | Properties

DrawLabel immediately returning points delimiting label area.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public void DrawLabel(
  ref TPoint[] _points
);
' VisualBasic
Public Sub DrawLabel(
  ByRef _points As TPoint()
)
// Oxygene
public
  procedure DrawLabel(
    var _points : TGIS_DrawBuf
  ); virtual;

Parameters

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

Remarks

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.

References

2020/12/18 01:18

Page Tools