Debenu Quick PDF logo

SetFontEncoding

Fonts

Description

Sets the encoding for the selected font.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetFontEncoding(Encoding: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetFontEncoding(Encoding As Long) As Long

DLL

int DPLSetFontEncoding(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport