SelectFont

文字, 字型

描述

選取已加入所選文件的其中一個字型。FontID 必須是任一 Add*Font 函式或 GetFontID 傳回的有效 ID

語法

Delphi

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

ActiveX

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

DLL

int DLSelectFont(int InstanceID, int FontID);

參數

FontID要選取的字型 ID

傳回值

0找不到指定的 ID
1字型選取成功