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