Platform | Win32, x64 |
Purpose |
To get the dimensions of a graphics character string. |
Syntax |
SUBROUTINE GET_TEXT_SIZE@( STR, WIDTH, DEPTH ) |
Description |
This routine returns the pixel WIDTH and DEPTH of a given character string STR when drawn on the current drawing surface. Trailing spaces will be included so either use a substring notation or terminate the significant characters by CHAR(0). |
See also |
Using GDI+, SELECT_FONT@, SCALE_FONT@,
UNDERLINE_FONT@, ITALIC_FONT@, |