Click or drag to resize

PdfFontGetTextWidth Method

Get the width in points of the specified string.

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

Parameters

text  String
The measured string.

Return Value

Single
The width of the string in points.
See Also