PdfFontGetTextWidth Method

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

Definition

Namespace: EvoPdf
Assembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.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