Measure a block of text broken into lines using end-of-line markers - return the length.

 

   

Syntax
 

[C#]
double MeasureText(string text)
double MeasureText(string text, bool html)

 

   

Params
 
Name Description
text The text to be measured.
html Whether the text is HTML styled text. Default false.
return The length of the longest line in the text.

 

   

Notes
 
Measure a block of text broken into lines using end-of-line markers - return the length.

 

   

Example
 
None.