# NNS_G2dTextCanvasGetTextHeight

## C Specification

      #include <nnsys/g2d/g2d_TextCanvas.h>

      int NNS_G2dTextCanvasGetTextHeight(
      	const NNSG2dTextCanvas* pTxn,
      	const NNSG2dChar* txt
      );

## Arguments

pTxn | [IN] Pointer to TextCanvas
txt | [IN] Pointer to text string

## Return Values

Returns the height of the text string when drawn ( in pixels).

## Description

Calculates the height of text string txt when drawn.

## See Also

NNS_G2dFontGetTextHeight, NNS_G2dTextCanvasGetStringWidth, NNS_G2dTextCanvasGetTextWidth, NNS_G2dTextCanvasGetTextRect

## Revision History

05/25/2005 Initial version.