Measures the size of the specified string when rendered with the specified font.

C# | Visual Basic | Visual C++ |
public SizeF MeasureString( string text, PdfFont font )
Public Function MeasureString ( text As String, font As PdfFont ) As SizeF
public: SizeF MeasureString( String^ text, PdfFont^ font )

SizeF
The size of the string.
The size of the string.
Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)