Important: The information in this document is obsolete and should not be used for new development.
HMGetFontSize
To get information about the font size that is currently used to display text in help balloons, use theHMGetFontSize
function.
FUNCTION HMGetFontSize (VAR fontSize: Integer): OSErr;
fontSize
- The global font size used to display text in help balloons.
DESCRIPTION
TheHMGetFontSize
function returns in itsfontSize
parameter the global font size used to display text in help balloons. This information applies only to Pascal strings stored in the help resources themselves and to strings from'STR#'
and'STR '
resources; it does not apply to text in'PICT'
or styled text resources, or in handles to either of these resources.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theHMGetFontSize
function are
Trap macro Selector _Pack14 $020B RESULT CODES
noErr 0 No error memFullErr -108 Not enough room in heap zone SEE ALSO
See the chapter "TextEdit" in Inside Macintosh: Text for detailed information about font sizes.