Click or drag to resize
Pdf Library for .NET

PdfFontGetTextSize Method

Gets the size of the specified string in points.

Namespace:  SelectPdf
Assembly:  Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 23.1
Syntax
public SizeF GetTextSize(
	string text
)

Parameters

text
Type: SystemString
The string to be measured.

Return Value

Type: SizeF
The size of the string in points.
See Also