Gets the width of the given character when drawn with this font object.
'Declaration
Public Overrides Function GetCharWidth( _
ByVal As Char _
) As Double
'Usage
Dim instance As PDFFont
Dim charCode As Char
Dim value As Double
value = instance.GetCharWidth(charCode)
public override double GetCharWidth(
char
)
public: double GetCharWidth(
char
) override
public:
double GetCharWidth(
char
) override
Parameters
- charCode
- the char to get its width
Return Value
This method returns a double value that represents the width, in unscaled glyph units, of the given character.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2