GetPageAssociatedFileCount
Embedded files
Description
Returns how many associated files one page carries in its /AF array
Syntax
Delphi
Function GetPageAssociatedFileCount(PageNumber: Integer): Integer;Return values
| N | Number of page /AF entries, 0 for a page without bindings or an invalid page number |
|---|
Remarks
Each entry corresponds to one file specification; resolve its embedded stream with GetPageAssociatedFileEmbeddedIndex
Example
for I:= 1 to PDF.PageCount do Count:= Count+ PDF.GetPageAssociatedFileCount(I);