THotPDF.GetLoadedFileSpecInfo Method

Reads the name, description, MIME subtype, and stored stream length for an embedded file specification by zero-based index

Declaration

function GetLoadedFileSpecInfo(Index: Integer; out AName, ADesc, AMIME: AnsiString; out ASize: Int64): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
IndexZero-based embedded-file specification index
ANameReceives the embedded file name
ADescReceives the optional file description
AMIMEReceives the embedded stream MIME subtype
ASizeReceives the stored embedded stream length

Return value

Returns True when the indexed embedded-file specification is available

Usage notes

Related APIs