User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_rendererabstract.canvastextextent_string

Table of Contents

TGIS_RendererAbstract.CanvasTextExtent method

DK11 for Java | tatukgis.jdk.TGIS_RendererAbstract.CanvasTextExtent | Constructors | Fields | Methods | Properties

Calculate text EM value for a currently selected CanvasFont.

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public abstract TPoint CanvasTextExtent(
  java.lang.String _text
);
// Oxygene
public
  function CanvasTextExtent(
    _text : String
  ) : TPoint; virtual; abstract;

Parameters

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

Result

Type Description
TPoint Text extent in pixels.
2021/04/15 01:14

Page Tools