function AttachmentRelationshipFeaturesAvailable: Boolean;
BooleanAttachmentRelationshipFeaturesAvailable läser in den valda PDFium-modulen vid behov och returnerar True när den valfria ingångspunkten FPDFAttachment_GetAFRelationship exporteras
När exporten finns rapporterar AttachmentRelationship, fältet Relationship i de TPdfAttachmentMetadata-poster som ReadAttachmentMetadata returnerar och fältet Relationship som TryGetAnnotationFileAttachment fyller i namnet /AFRelationship för filspecifikationen (ISO 32000-2 Table 43)
Utan exporten läses värdena som en tom sträng, precis som för en filspecifikation som inte har någon /AFRelationship-post
Source, Data, Alternative, Supplement, EncryptedPayload, FormData, Template, Unspecified), så associerade filer som den har skapat kan läsas tillbaka via det nativa API:tif AttachmentRelationshipFeaturesAvailable and (Pdf.AttachmentRelationship[0] = 'Source') then
ShowMessage('First attachment is the source document');