User Tools

Site Tools


api:dk11:delphi:fmx.gisrenderer.tgis_rendererfmx.canvastextextent_string

Table of Contents

TGIS_RendererFmx.CanvasTextExtent method

DK11 for Delphi | FMX.GisRenderer.TGIS_RendererFmx.CanvasTextExtent | Constructors | Fields | Methods | Properties

Calculate text EM value for a currently selected CanvasFont.

Overrides TGIS_RendererAbstract.CanvasTextExtent.

Syntax

// Delphi
public
  function CanvasTextExtent(
    const _text : String
  ) : TPoint; override;
// C++ Builder
public:
  virtual TPoint* CanvasTextExtent(
    const UnicodeString _text
  );

Parameters

Name Type Description
_text String text for which extent will be calculated

Result

Type Description
TPoint Text extent in pixels.
2018/04/05 12:09