Click or drag to resize

PdfFontBase GetCharWidth Method

Returns width of the char.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
protected abstract float GetCharWidth(
	char charCode,
	PdfStringFormat format
)

Parameters

charCode
Type: System Char
Char symbol.
format
Type: Spire.Pdf.Graphics PdfStringFormat
String format.

Return Value

Type: Single
Width of the symbol.
See Also