Click or drag to resize
PdfFontGetTextWidth Method
Get the width in points of the specified string.

Namespace: ExpertPdf.HtmlToPdf.PdfDocument
Assembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntax
public float GetTextWidth(
	string text
)

Parameters

text
Type: SystemString
The measured string.

Return Value

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