THotPDF.GetLoadedEmbeddedFileSpec Method

Finds an embedded file specification dictionary by filename in the currently loaded PDF document. Use it before extracting embedded payload bytes or validating associated-file metadata

Declaration

function GetLoadedEmbeddedFileSpec(const AFileName: AnsiString): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
AFileNameEmbedded file name as stored in the loaded document name tree

Return value

Returns the loaded embedded file specification dictionary, or nil when no match is found

Usage notes

Related APIs