Navigation:  thinBasic Modules > XPRINT >

XPRINT_GetTextHeight

Previous pageReturn to chapter overviewNext page

 

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