AddFormFont

字体、表单字段

描述

向表单添加字体

字体必须使用某个 Add*Font 函数添加

语法

Delphi

Function TPDFlib.AddFormFont(FontID: Integer): Integer;

ActiveX

Function PDFlib::AddFormFont(FontID As Long) As Long

DLL

int DLAddFormFont(int InstanceID, int FontID);

参数

FontID由某个 Add*Font 函数返回的 FontID

返回值

0无效的 FontID
Non-zero字体已成功添加,返回值为可供表单字段使用的字体数量