FontCount
字型
描述
傳回加入 PDF 檔案的字型總數。除非已呼叫 FindFonts 函式,否則此函式不把以 LoadFromFile 函式載入的既有 PDF 文件中原有的字型計算在內
語法
Delphi
Function TPDFlib.FontCount: Integer;
ActiveX
Function PDFlib::FontCount() As Long
DLL
int DLFontCount(int InstanceID);
傳回值
| 0 | 文件尚未加入任何字型,或 FindFonts 在既有文件中沒有找到任何字型。 |
|---|---|
| Non-zero | 加入 PDF 的字型數量加上 FindFonts 找到的字型數量。 |