# GetTextTotalHeight

## Description

Returns the current height of the text object in world units. This does not take into account the individual offsets of characters, if you have used SetTextCharY or similar to move a character. The returned value is the height used by the default drawing position of the text characters. Note that if the string of the text is empty then this value will return 0.

## Definition

float GetTextTotalHeight( iTextIndex )

float agk::GetTextTotalHeight( UINT iTextIndex )

## Parameters

- iTextIndex - The ID of the text object to return.