User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_rendererabstract.canvastextextent_widestring

Table of Contents

ITGIS_RendererAbstract.CanvasTextExtent method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_RendererAbstract.CanvasTextExtent | Methods | Properties

Calculate text EM value for a currently selected CanvasFont.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public ITPoint CanvasTextExtent(
  WideString _text
);
' VisualBasic
Public Function CanvasTextExtent(
  ByVal _text As WideString
) As ITPoint
// Oxygene
public
  function CanvasTextExtent(
    _text : WideString
  ) : ITPoint;

Parameters

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

Result

Type Description
ITPoint Text extent in pixels.
2020/05/07 01:04

Page Tools