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.

Syntax

Overrides TGIS_RendererAbstract.CanvasTextExtent.

// 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.
2020/05/07 01:05

Page Tools