SetCharWidth
Version history
This function was introduced in Quick PDF Library version 7.11.
Description
Sets the width of a specific character in the selected font.
The width uses is a ratio to the text size. For example, if a value of 750 is used the width of the character when output as 12pt text would be (750 / 1000) * 12.
Syntax
Delphi
function TQuickPDF0813.SetCharWidth(CharCode, NewWidth: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetCharWidth(CharCode As Long,
NewWidth As Long) As Long
DLL
int QuickPDFSetCharWidth(int InstanceID, int CharCode, int NewWidth)
Parameters
| CharCode | The glyph character code that should be set. For example, 65 for "A". |
| NewWidth | The new width |
Return values
| 0 | A font has not been selected |
| 1 | The width was set successfully |