GetAssociatedFileCount

Associated files, attachments, document inspection

Description

Returns the number of file specifications in the document catalogue /AF array

Syntax

Delphi

Function TPDFlib.GetAssociatedFileCount: Integer;

ActiveX

Function PDFlib::GetAssociatedFileCount() As Long

DLL

int DLGetAssociatedFileCount(int InstanceID);

Return values

Returns zero when the catalogue has no document-level associated files

Remarks

Use one-based indexes from 1 to this count with GetAssociatedFileEmbeddedIndex