Parameters
- text
- String to measure.
- font
- System.Drawing.Font object that defines the appearance and size of the text.
- width
- Maximum width of the string.
Return Value
The size of the string expressed in points.
This method is similar to MeasureString(String,Font,Single), except the text parameter contains an HTML string instead of plain text.
For details, see the DrawStringHtml(String,Font,Brush,RectangleF) method.