PdfFontGetTextWidth Method

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

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
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