User Tools

Site Tools


api:dk11:delphi:gisrendererabstract.tgis_rendererabstract.canvastextem_double

Table of Contents

TGIS_RendererAbstract.CanvasTextEm method

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

Calculate text EM value for a currently selected CanvasFont.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function CanvasTextEm(
    const _em : Double
  ) : Integer; virtual;
// C++ Builder
public:
  virtual int CanvasTextEm(
    const double _em
  );

Parameters

Name Type Description
_em Double number of em

Result

Type Description
Integer Calculated values in pixels.
2020/05/07 01:10

Page Tools