MeasureStringHtml(String,Font) Method
Measures an HTML string when drawn with a given
System.Drawing.Font object.
'Declaration
Public Overloads Function MeasureStringHtml( _
ByVal As String, _
ByVal As Font _
) As SizeF
public SizeF MeasureStringHtml(
string ,
Font
)
Parameters
- text
- String to measure.
- font
- System.Drawing.Font object that defines the appearance and size of the text.
Return Value
The size of the string expressed in points.