SetFontEncoding
Fonts
Description
Sets the encoding for the selected font.
Syntax
Delphi
function TPDFlib.SetFontEncoding(Encoding: Integer): Integer;ActiveX
Function PDFlib::SetFontEncoding(Encoding As Long) As LongDLL
int DLSetFontEncoding(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 |