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
)
Protected MustOverride Function GetCharWidth (
charCode As Char,
format As PdfStringFormat
) As Single
protected:
virtual float GetCharWidth(
wchar_t charCode,
PdfStringFormat^ format
) abstract
abstract GetCharWidth :
charCode : char *
format : PdfStringFormat -> float32
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