XPRINT_GetTextHeight

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > XPRINT >

XPRINT_GetTextHeight

 

Description

 

Calculate the height of text to be printed on a printer.

 

Syntax

 

Height = XPRINT_GetTextHeight(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