AddCJKFont

Text, Fonts

Description

Adds a CJK (Chinese Japanese Korean) font to the PDF document.

At present, the only supported CJK fonts are the Japanese "HeiseiKakuGo-W5" font and the Korean "HYGoThic-Medium" font.

Syntax

Delphi

function TPDFlib.AddCJKFont(CJKFontID: Integer): Integer;

ActiveX

Function PDFlib::AddCJKFont(CJKFontID As Long) As Long

DLL

int DLAddCJKFont(int InstanceID, int CJKFontID);

Parameters

CJKFontID1 = HeiseiKakuGo-W5 2 = HeiseiKakuGo-W5 (Bold) 3 = HeiseiKakuGo-W5 (Bold Italic) 4 = HeiseiKakuGo-W5 (Italic) 5 = HYGoThic-Medium 6 = HYGoThic-Medium (Bold) 7 = HYGoThic-Medium (Bold Italic) 8 = HYGoThic-Medium (Italic)