PdfFontGetTextWidth Method |
Get the width in points of the specified string.
Namespace: ExpertPdf.HtmlToPdf.PdfDocumentAssembly: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntaxpublic float GetTextWidth(
string text
)
Public Function GetTextWidth (
text As String
) As Single
Parameters
- text String
- The measured string.
Return Value
SingleThe width of the string in points.
See Also