GetPageAssociatedFileCount

內嵌檔案

描述

傳回一個頁面在其 /AF 陣列中攜帶的關聯檔案數量

語法

Delphi

Function GetPageAssociatedFileCount(PageNumber: Integer): Integer;

傳回值

N頁面 /AF 項目數量;頁面沒有繫結或頁碼無效時為 0

備註

每個項目對應一個檔案規格;請以 GetPageAssociatedFileEmbeddedIndex 解析其內嵌串流

範例

for I:= 1 to PDF.PageCount do Count:= Count+ PDF.GetPageAssociatedFileCount(I);

另請參閱

AddAssociatedFileFromString, GetAssociatedFileCount