Purpose |
Calculate the size of text to be printed. |
Syntax |
GRAPHIC TEXT SIZE txt$ TO nWidth!, nHeight! |
Remarks |
This statement calculates the total size of the printed text, based upon the current font for the graphic target. The sizes returned are specified in pixels, unless optional world coordinates have been defined with a GRAPHIC SCALE statement. This allows you to easily calculate the appropriate print position, particularly when using a proportional font. |
See also |
GRAPHIC ATTACH, GRAPHIC CHR SIZE, GRAPHIC SET FONT, GRAPHIC PRINT |