PdfFontGetTextWidth Method

Measures the width in points of a text written on one line with this font

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 19.0.10
C#
public float GetTextWidth(
	string text
)

Parameters

text  String
The text to measure

Return Value

Single
The width of the text in points

See Also