|
PdfCanvasMeasureString Method
|
Measures the size of the specified string when rendered with the specified font.
Namespace: SelectPdfAssembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntaxpublic SizeF MeasureString(
string text,
PdfFont font
)
Public Function MeasureString (
text As String,
font As PdfFont
) As SizeF
Parameters
- text String
- String to measure.
- font PdfFont
- The font used to render the string.
Return Value
SizeFThe size of the string.
See Also