get-window-text-extent in Miscellaneous
Returns the pixel size of a string drawn as a window's label or value.
See also
get-text-extent .
(get-window-text-extent-> two exact non-negative integers: width and heightstringfont)
string: string
font:font%objectReturns the extent of the given string drawn with the given font.