function AttachmentRelationshipFeaturesAvailable: Boolean;
BooleanAttachmentRelationshipFeaturesAvailable laadt indien nodig de geselecteerde PDFium-module en geeft True terug zodra het optionele FPDFAttachment_GetAFRelationship entrypoint geƫxporteerd wordt
Als de export aanwezig is, rapporteren AttachmentRelationship, het veld Relationship van de TPdfAttachmentMetadata die ReadAttachmentMetadata teruggeeft en het veld Relationship dat TryGetAnnotationFileAttachment vult, de /AFRelationship-naam van de file specification (ISO 32000-2 Table 43)
Zonder die export lees je al die waarden als een lege tekenreeks, precies zoals bij een file specification zonder /AFRelationship-vermelding
Source, Data, Alternative, Supplement, EncryptedPayload, FormData, Template, Unspecified), dus associated files die hij produceert lezen zonder meer terug via de native APIif AttachmentRelationshipFeaturesAvailable and (Pdf.AttachmentRelationship[0] = 'Source') then
ShowMessage('First attachment is the source document');