PdfFont
GetCharWidth Method
|
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
protected override float GetCharWidth(
char charCode,
PdfStringFormat format
)
Protected Overrides Function GetCharWidth (
charCode As Char,
format As PdfStringFormat
) As Single
protected:
virtual float GetCharWidth(
wchar_t charCode,
PdfStringFormat^ format
) override
abstract GetCharWidth :
charCode : char *
format : PdfStringFormat -> float32
override GetCharWidth :
charCode : char *
format : PdfStringFormat -> float32
Parameters
-
charCode
-
Type:
System
Char
-
format
-
Type:
Spire.Pdf.Graphics
PdfStringFormat
Return Value
Type:
Single
See Also