function AttachmentRelationshipFeaturesAvailable: Boolean;
BooleanAttachmentRelationshipFeaturesAvailable lädt bei Bedarf das ausgewählte PDFium-Modul und gibt True zurück, wenn der optionale Einstiegspunkt FPDFAttachment_GetAFRelationship exportiert wird
Ist der Export vorhanden, melden AttachmentRelationship, das Feld Relationship des von ReadAttachmentMetadata gelieferten TPdfAttachmentMetadata und das von TryGetAnnotationFileAttachment gefüllte Feld Relationship den /AFRelationship-Namen der Dateispezifikation (ISO 32000-2, Table 43)
Ohne den Export liefern all diese Werte einen leeren String – genau wie bei einer Dateispezifikation ohne /AFRelationship-Eintrag
Source, Data, Alternative, Supplement, EncryptedPayload, FormData, Template, Unspecified), sodass sich die von ihm erzeugten Associated Files über die native API wieder auslesen lassenif AttachmentRelationshipFeaturesAvailable and (Pdf.AttachmentRelationship[0] = 'Source') then
ShowMessage('First attachment is the source document');