C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_getgtextextent
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _getgtextextent function returns the width, in pixels, that
     would be required to print the text string using _outgtext with
     the current font.
 
     This function is particularly useful for determining the size of
     text that uses proportionally spaced fonts.
 
     Return Value
 
     The _getgtextextent function returns the width in pixels. It
     returns -1 if a font has not been registered.
                                    -♦-