Click or drag to resize
Pdf Library for .NET

PdfFontGetTextWidth Method

Get the width in points of the specified string.

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

Parameters

text
Type: SystemString
The string to be measured.

Return Value

Type: Single
The width of the string in points.
See Also