# DrawText

## Description

Immediately draws the text to the backbuffer at its current position, size, and rotation. This is useful if you want to setup a scene for GetImage to capture. Remember to use ClearScreen to clear any of your own drawing before calling Sync or Render for the actual frame otherwise your drawing may appear twice in the final render.

## Definition

DrawText( iTextIndex )

void agk::DrawText( UINT iTextIndex )

## Parameters

- iTextIndex - The ID of the text to draw.