PdfFontGetTextWidth Method

Get the width in points of the specified string when rendered in PDF using this font.

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
public float GetTextWidth(
	string text
)

Parameters

text  String
The measured string.

Return Value

Single
The width of the string in points.

See Also