CharHeight Property

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:20

Description

Returns the height for the specified character in the current font.

Syntax

object.CharHeight (i)

object

Required. Object name. Returned by Ted.GetFont.

i

Required. Asc value of the character.

Example

This script displays 662 as height of the character "A" in the font numbered as 10031:

Dim objFont = Ted.GetFont

objFont.Code = 10031

dim c as String = "A"

msgbox (c & ": " & objFont.CharHeight(asc(c)))

 

Context

Font object