SetFontEncoding
Description
Sets the encoding for the selected font.
Syntax
Delphi
function TQuickPDF0813.SetFontEncoding(Encoding: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetFontEncoding(Encoding As Long) As Long
DLL
int QuickPDFSetFontEncoding(int InstanceID, int Encoding)
Parameters
| Encoding |
The encoding to use for the font: 0 = StandardEncoding 1 = MacRomanEncoding 2 = WinAnsiEncoding 3 = Deprecated (was PDFDocEncoding) 4 = MacExpertEncoding 5 = Do not specify encoding |
Return values
| 0 | No font was selected, or the encoding could not be set |
| 1 | The encoding for the selected font was set successfully |