function AttachmentRelationshipFeaturesAvailable: Boolean;
Booleanيحمِّل AttachmentRelationshipFeaturesAvailable وحدة PDFium المحددة عند الحاجة ويعيد True عندما تكون نقطة الدخول الاختيارية FPDFAttachment_GetAFRelationship مُصدَّرة
عند وجود التصدير، تُبلِّغ AttachmentRelationship والحقل Relationship في السجل TPdfAttachmentMetadata الذي تعيده ReadAttachmentMetadata والحقل Relationship الذي تملؤه TryGetAnnotationFileAttachment باسم /AFRelationship الخاص بمواصفات الملف (ISO 32000-2 Table 43)
وبغياب التصدير تُقرأ تلك القيم كسلسلة فارغة، تمامًا كما يحدث لمواصفات ملف لا تحمل مدخل /AFRelationship أصلًا
Source، Data، Alternative، Supplement، EncryptedPayload، FormData، Template، Unspecified)، فتُقرأ الملفات المرتبطة التي يُنتجها من جديد عبر الواجهة الأصليةif AttachmentRelationshipFeaturesAvailable and (Pdf.AttachmentRelationship[0] = 'Source') then
ShowMessage('First attachment is the source document');