Calculate the width of a string of text.
[C#] int TextWidth(string text)
int TextWidth(string text)
This function caculates the width for a given text string.
The value returned is measured in thousandths of a unit. So to calculate the physical size on the page multiply the returned value by the font size and divide by one thousand.
None.