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
text
ustringText, may contain newlines.
width
intThe minimum width for the text.
Returns
- int
Number of lines.