<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > XPRINT > XPRINT_GetTextWidth |
Description
Calculate the width of text to be printed on a printer.
Syntax
Width = XPRINT_GetTextWidth(sText)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
sText |
Number |
No |
Text to consider for calculation |
Remarks
The size returned is specified in pixels, unless optional world coordinates have been defined with an XPRINT_Scale statement.
Restrictions
See also
Examples