'Declaration
Public Shared Function MeasureString( _ ByVal s As String, _ ByVal font As PdfFont _ ) As PdfSize
'Usage
Dim s As String Dim font As PdfFont Dim value As PdfSize value = PdfTextEngine.MeasureString(s, font)
Parameters
- s
- String to measure.
- font
- Font used to display the string.
Return Value
The size of the string when displayed using the font.