PDFium Delphi Component Docs

AttachmentRelationshipFeaturesAvailable funzione

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

Sintassi

function AttachmentRelationshipFeaturesAvailable: Boolean;

Parametri

Nessuno

Valore restituito

Boolean

Descrizione

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

Osservazioni

Esempio

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

Vedi anche

TPdf.AttachmentRelationship, TPdf.ReadAttachmentMetadata, AttachmentDescriptionFeaturesAvailable