Gets the width of the given character when drawn with this font object.
'Declaration
Public Overridable Function GetCharWidth( _
ByVal As Char _
) As Double
'Usage
Dim instance As PDFFontBase
Dim charCode As Char
Dim value As Double
value = instance.GetCharWidth(charCode)
public virtual double GetCharWidth(
char
)
public: virtual double GetCharWidth(
char
)
public:
virtual double GetCharWidth(
char
)
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