Panel:GetNumLines
Example
Creates a rich text panel with a block of text and prints out the number of text lines before and after PerformLayout
is called.
Output: The panel shows 5 lines of text, but the number 5 isn't returned until PerformLayout has been called 2 times.
PerformLayout called 0 times: 1 line(s) returned
PerformLayout called 1 times: 1 line(s) returned
PerformLayout called 2 times: 5 line(s) returned