getgtextextent
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
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.
-♦-