[]
        
(Showing Draft Content)

C1.Util.IFlowDocument.MeasureStringHtml

MeasureStringHtml Method

MeasureStringHtml(string, Font, float)

Measures an HTML string when drawn with a given Font object into a rectangle with the specified width.

Declaration
SizeF MeasureStringHtml(string text, Font font, float width)
Function MeasureStringHtml(text As String, font As Font, width As Single) As SizeF
Parameters
Type Name Description
string text

String to measure.

Font font

Font object that defines the appearance and size of the text.

float width

Maximum width of the string.

Returns
Type Description
SizeF

The size of the string expressed in points.