PDFium Component Docs

AttachmentRelationshipFeaturesAvailable functie

Unit: PDFium
Geeft terug of de geladen pdfium.dll FPDFAttachment_GetAFRelationship exporteert

Syntax

function AttachmentRelationshipFeaturesAvailable: Boolean;

Parameters

Geen

Return Value

Boolean

Description

AttachmentRelationshipFeaturesAvailable laadt indien nodig de geselecteerde PDFium-module en geeft True terug zodra het optionele FPDFAttachment_GetAFRelationship entrypoint geƫxporteerd wordt

Als de export aanwezig is, rapporteren AttachmentRelationship, het veld Relationship van de TPdfAttachmentMetadata die ReadAttachmentMetadata teruggeeft en het veld Relationship dat TryGetAnnotationFileAttachment vult, de /AFRelationship-naam van de file specification (ISO 32000-2 Table 43)

Zonder die export lees je al die waarden als een lege tekenreeks, precies zoals bij een file specification zonder /AFRelationship-vermelding

Remarks

Example

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

See Also

TPdf.AttachmentRelationship, TPdf.ReadAttachmentMetadata, AttachmentDescriptionFeaturesAvailable