# SetTextLineSpacing

## Description

Sets the spacing between text lines. A value of 0 puts no gap between the lines, a positive value increases this gap, a negative value overlaps the lines. If each character is built with some space above and below it in the font image then that is the default amount of spacing and this command will increase or decrease the spacing from that.

## Definition

SetTextLineSpacing( iTextIndex, fSpacing )

void agk::SetTextLineSpacing( UINT iTextIndex, float fSpacing )

## Parameters

- iTextIndex - The ID of the text object to update.
- fSpacing - The new spacing to use.