Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

tHeight()

Purpose

Get the text height of the display

Description

Find the number of characters that will fit on the screen vertically at the current text size

Syntax

textheight = tHeight ()

Arguments

textheight The number of characters that will fit on the screen vertically at the current fontsize

Example

clear()
textSize( 100 )
for y = 0 to tHeight() loop
    for x = 0 to tWidth() loop
        printAt( x, y, y + 1 )
        update()
    repeat
repeat

for i = 1 to 100 loop
    update()
repeat

Associated Commands

cursor(), drawText(), ink(), len(), print(), printAt(), stringHash(), textSize(), tWidth()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.