Click or drag to resize
Pdf Library for .NET

PdfFontGetCharWidth Method

Gets the width of the specified character in points.

Namespace: SelectPdf
Assembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntax
public float GetCharWidth(
	char c
)

Parameters

c  Char
The character to be measured.

Return Value

Single
The character width in points.
See Also