Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : GET-TEXT-HEIGHT-CHARS( ) method
 

GET-TEXT-HEIGHT-CHARS( ) method

(Graphical interfaces only)
Returns the height, in character units, of the specified font. If no font is specified, the method returns the height of the default font.
Return type: DECIMAL
Applies to: FONT-TABLE system handle

Syntax

GET-TEXT-HEIGHT-CHARS ( [font] )
font
An integer expression that specifies an entry within the font.
If you pass the Unknown value (?) to this method, the AVM uses the system default font. When a field-level widget inherits its font from the parent frame, the AVM returns the Unknown value (?) for the font and you must use the font of the parent frame.