FontOps.$reptextheight()

Function groupExecute on clientPlatform(s)
FontOpsNOAll

Syntax

FontOps.$reptextheight(font-name|font-table-index,point-size[,font-style,extra-points])

Description

Returns the height in inches/cms (depending on $usecms preferences) of the specified report font.The units of the returned value are determined by $root.$prefs.$usecms.

Example

Do
 
FontOps
.
$reptextheight
(
'Times'
,144)
 
Returns 
lHeight

# returns 2.24 inches / 5.69 cms

 
Do
 
FontOps
.
$reptextheight
(
'Times'
,144,,24)
 
Returns 
lHeight

# returns 2.57 inches / 6.54 cms