Get the width in points of the specified string.

C# | Visual Basic | Visual C++ |
public float GetTextWidth( string text )
Public Function GetTextWidth ( text As String ) As Single
public: float GetTextWidth( String^ text )

- text (String)
- The measured string.

Single
The width of the string in points.
The width of the string in points.
Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)