PdfFontGetTextWidth Method

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

Definition

Namespace: Winnovative.ExcelToPdf
Assembly: WnvExcelToPdf_NetCore (in WnvExcelToPdf_NetCore.dll) Version: 12.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