User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_rendererabstract.canvasfontmetrics_byte_integer_integer_wordbool

Table of Contents

ITGIS_RendererAbstract.CanvasFontMetrics method

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

Provide basing metric for a currently selected CanvasFont.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void CanvasFontMetrics(
  ref byte _break_char,
  ref int _height,
  ref int _ascent,
  ref WordBool _true_type
);
' VisualBasic
Public Sub CanvasFontMetrics(
  ByRef _break_char As Byte,
  ByRef _height As Integer,
  ByRef _ascent As Integer,
  ByRef _true_type As WordBool
)
// Oxygene
public
  procedure CanvasFontMetrics(
    var _break_char : Byte;
    var _height : Integer;
    var _ascent : Integer;
    var _true_type : WordBool
  );

Parameters

Name Type Description
_break_char byte
Byte
character treated as a break character (space)
_height int
Integer
font height in pixels
_ascent int
Integer
font ascent size in pixels
_true_type WordBool True if font is TrueType or equivalent (scalable as vector)
2020/05/07 01:04

Page Tools