PDFium Delphi Component Docs

AttachmentRelationshipFeaturesAvailable funktion

Unit: PDFium
Rapporterar om den inlästa pdfium.dll exporterar FPDFAttachment_GetAFRelationship

Syntax

function AttachmentRelationshipFeaturesAvailable: Boolean;

Parameters

Inga

Return Value

Boolean

Description

AttachmentRelationshipFeaturesAvailable 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

Remarks

Example

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

See Also

TPdf.AttachmentRelationship, TPdf.ReadAttachmentMetadata, AttachmentDescriptionFeaturesAvailable