Method MaxLines
MaxLines(ustring, int)
Computes the number of lines needed to render the specified text given the width.
public static int MaxLines(ustring text, int width)
Parameters
textustringText, may contain newlines.
widthintThe minimum width for the text.
Returns
- int
Number of lines.