User Tools

Site Tools


api:dk11:delphi:gisrendererabstract.tgis_rendererabstract.canvasdrawtext_trect_string

Table of Contents

TGIS_RendererAbstract.CanvasDrawText method

DK11 for Delphi | GisRendererAbstract.TGIS_RendererAbstract.CanvasDrawText | Fields | Methods | Properties

Draw a text on the Canvas object.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure CanvasDrawText(
    const _rect : TRect;
    const _text : String
  ); virtual; abstract;
// C++ Builder
public:
  virtual void CanvasDrawText(
    TRect* const _rect,
    const UnicodeString _text
  ) = 0;

Parameters

Name Type Description
_rect TRect rectangle (in pixels)
_text String text to be drawn

References

2018/02/17 00:10