GetFontID

文字, 字型

描述

傳回指定字型的 ID。使用此函式前,必須先呼叫 FindFonts 或 FontCount

必須執行,才能產生所選文件可用字型的清單。

語法

Delphi

Function TPDFlib.GetFontID(Index: Integer): Integer;

ActiveX

Function PDFlib::GetFontID(Index As Long) As Long

DLL

int DLGetFontID(int InstanceID, int Index);

參數

Index字型的索引。第一個字型的索引為 1。

傳回值

0索引超出邊界
Non-zero指定字型的 ID