C4 Engine
C4 Engine API Documentation

TextWidget::SetTextLeading

Defined in:  C4Widgets.h
Sets the leading for a text widget.
Prototype

void SetTextLeading(float leading) const;

Parameters
leading The new leading, in em units.
Description
The SetTextLeading function sets the leading, in em units, for a text widget to the value specified by the leading parameter. The leading is multiplied by the font size to calculate the actual distance between two consecutive lines of text. The default text leading is 1.2 em.
See Also

TextWidget::GetTextLeading

TextWidget::GetTextTracking

TextWidget::SetTextTracking