function AttachmentRelationshipFeaturesAvailable: Boolean;
BooleanAttachmentRelationshipFeaturesAvailable indlæser det valgte PDFium-modul, når det er nødvendigt, og returnerer True, når det valgfrie entry point FPDFAttachment_GetAFRelationship eksporteres
Når eksporten er til stede, rapporterer AttachmentRelationship, Relationship-feltet i TPdfAttachmentMetadata, som ReadAttachmentMetadata returnerer, og Relationship-feltet, som TryGetAnnotationFileAttachment udfylder, fil-specifikationens /AFRelationship-navn (ISO 32000-2 Table 43)
Uden eksporten læses disse værdier som en tom streng, præcis som ved en fil-specifikation uden en /AFRelationship-post
Source, Data, Alternative, Supplement, EncryptedPayload, FormData, Template, Unspecified), så tilknyttede filer, den producerer, kan læses tilbage via det native APIif AttachmentRelationshipFeaturesAvailable and (Pdf.AttachmentRelationship[0] = 'Source') then
ShowMessage('First attachment is the source document');