PDFium Delphi Component Docs

AttachmentRelationshipFeaturesAvailable الدالة

الوحدة: PDFium
تُبلِّغ عمّا إذا كانت pdfium.dll المحمَّلة تصدِّر FPDFAttachment_GetAFRelationship

الصياغة

function AttachmentRelationshipFeaturesAvailable: Boolean;

المعاملات

لا شيء

قيمة الإرجاع

Boolean

الوصف

يحمِّل AttachmentRelationshipFeaturesAvailable وحدة PDFium المحددة عند الحاجة ويعيد True عندما تكون نقطة الدخول الاختيارية FPDFAttachment_GetAFRelationship مُصدَّرة

عند وجود التصدير، تُبلِّغ AttachmentRelationship والحقل Relationship في السجل TPdfAttachmentMetadata الذي تعيده ReadAttachmentMetadata والحقل Relationship الذي تملؤه TryGetAnnotationFileAttachment باسم /AFRelationship الخاص بمواصفات الملف (ISO 32000-2 Table 43)

وبغياب التصدير تُقرأ تلك القيم كسلسلة فارغة، تمامًا كما يحدث لمواصفات ملف لا تحمل مدخل /AFRelationship أصلًا

ملاحظات

مثال

if AttachmentRelationshipFeaturesAvailable and (Pdf.AttachmentRelationship[0] = 'Source') then
  ShowMessage('First attachment is the source document');

انظر أيضًا

TPdf.AttachmentRelationship, TPdf.ReadAttachmentMetadata, AttachmentDescriptionFeaturesAvailable