MeasureString Method
Measures the specified string when drawn with this font object.
Syntax
'Usage Dim instance As PDFFontBase Dim text As String Dim value As Double value = instance.MeasureString(text)
Parameters
- text
- The string to measure
Return Value
This method returns a double value that represents the size, in points, of the string specified by the text parameter as drawn with this font object.
Requirements
Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also