EnumerateAssociatedFiles(Boolean) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Enumerates every associated file of the document with the object it is associated with.

public IEnumerable<PdfAssociatedFile> EnumerateAssociatedFiles(bool deep = false)

Parameters

deep
Boolean

false walks the known locations: the catalog and its metadata, the structure tree, document parts, and every page with its resources (form and image XObjects, marked-content property lists, recursively through forms) and annotations. true also scans every object of the file for an AF entry (Application Note 002 §3.2: AF may appear on any object), reporting those as Other.

Returns

IEnumerable<PdfAssociatedFile>
A lazy sequence; each object is reported once. Nothing is cached.

Remarks

ISO 32000-2 §14.13 and PDF 2.0 Application Note 002 §6.2.