PDFium Delphi Component Docs

AttachmentRelationshipFeaturesAvailable funzione

Unità: PDFium
Segnala se la pdfium.dll caricata esporta FPDFAttachment_GetAFRelationship

Syntax

function AttachmentRelationshipFeaturesAvailable: Boolean;

Parameters

Nessuno

Return Value

Boolean

Description

AttachmentRelationshipFeaturesAvailable carica il modulo PDFium selezionato quando necessario e restituisce True quando il punto d'ingresso facoltativo FPDFAttachment_GetAFRelationship è esportato

Quando l'esportazione è presente, AttachmentRelationship, il campo Relationship di TPdfAttachmentMetadata restituito da ReadAttachmentMetadata e il campo Relationship compilato da TryGetAnnotationFileAttachment riportano il nome /AFRelationship della file specification (ISO 32000-2 Table 43)

Senza l'esportazione questi valori si leggono come stringa vuota, esattamente come accade per una file specification priva della voce /AFRelationship

Remarks

Example

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

See Also

TPdf.AttachmentRelationship, TPdf.ReadAttachmentMetadata, AttachmentDescriptionFeaturesAvailable