|
Interface Manager
C4Interface.h
TextElement::SetRenderLineCountSets the number of lines rendered in a text box.Prototype
Parameters
Description
The SetRenderLineCount function sets the number of lines rendered in a text box. This line count is only considered when the kTextWrapped flag is set (see TextElement::SetTextFlags). If the count parameter is 0 (the default), then there is no limit to the number of lines rendered.The index of the first line is set using the TextElement::SetFirstRenderLine function. Beginning with this line, at most count lines are rendered. Line breaks are determined by wrapping text within the width of the text box specified using the TextElement::SetElementSize function.
See Also
TextElement::GetRenderLineCount
TextElement::GetFirstRenderLine
TextElement::SetFirstRenderLine
TextElement::SetTextFlags
TextElement::SetElementSize
|