THotPDF.GetLoadedTrailerID Method

Reads the unique document identifier from the Trailer dictionary of the loaded PDF document (the first element of the ID array)

Declaration

function GetLoadedTrailerID(out AID: AnsiString): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
AIDOutput parameter, receives the hexadecimal string representation of the document ID

Return value

Returns True and populates the AID if a valid ID array exists in the Trailer, otherwise returns False

Usage notes

Related APIs