Click or drag to resize
Pdf Library for .NET

PdfFontGetTextWidth Method

Get the width in points of the specified string.

Namespace: SelectPdf
Assembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntax
public float GetTextWidth(
	string text
)

Parameters

text  String
The string to be measured.

Return Value

Single
The width of the string in points.
See Also