Progress
Language Reference


GET-TEXT-HEIGHT-PIXELS( ) Method

Returns the height, in pixels, of the specified font. If no font is specified, the method returns the height of the default font.

Return Type: INTEGER

Applies To: FONT-TABLE System Handle

SYNTAX
GET-TEXT-HEIGHT-PIXELS ( [ font ] ) 

font

An integer expression that specifies an entry within the font table.

If you pass the unknown value to this method, Progress uses the system default font. When a field-level widget inherits its font from the parent frame, Progress returns the unknown value for the font and you must use the font of the parent frame.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095