PdfFontMeasureString Method |
Measures the specified string when drawn with this font.
Namespace: SautinSoft.Pdf.ContentAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.7.1
Syntaxpublic PdfSize MeasureString(
string text,
bool kerning = true
)
Public Function MeasureString (
text As String,
Optional kerning As Boolean = true
) As PdfSize
Parameters
- text String
- String to measure.
- kerning Boolean (Optional)
- Enable character kerning.
Return Value
PdfSizeSize in points.
Exceptions
See Also