GetAssociatedFileCount

關聯檔案、附件、文件檢查

描述

傳回文件目錄 /AF 陣列中的檔案規格數量

語法

Delphi

Function TPDFlib.GetAssociatedFileCount: Integer;

ActiveX

Function PDFlib::GetAssociatedFileCount() As Long

DLL

int DLGetAssociatedFileCount(int InstanceID);

傳回值

目錄沒有文件層級關聯檔案時傳回零

備註

以 1 到此數量的索引(1 起算)搭配 GetAssociatedFileEmbeddedIndex 使用