Description
Returns the depth for the specified character in the currently loaded font.
Syntax
object.CharDepth (i) |
object
Required. Object name. Returned by Ted.GetFont.
i
Required. Asc value of the character.
Example
This script displays 0 as depth for the character "A" in the font numbered as 10031:
Dim objFont = Ted.GetFont
objFont.Code = 10031
dim c as String = "A"
msgbox (c & ": " & objFont.CharDepth(asc(c)))
Context
Font object
See also other properties of specified character
See also other properties of currently loaded font