PDFium Delphi Component Docs

función AttachmentRelationshipFeaturesAvailable

Unidad: PDFium
Indica si el pdfium.dll cargado exporta FPDFAttachment_GetAFRelationship

Syntax

function AttachmentRelationshipFeaturesAvailable: Boolean;

Parameters

Ninguno

Return Value

Boolean

Description

AttachmentRelationshipFeaturesAvailable carga el módulo PDFium seleccionado cuando hace falta y devuelve True cuando el punto de entrada opcional FPDFAttachment_GetAFRelationship está exportado

Cuando la exportación está presente, AttachmentRelationship, el campo Relationship de TPdfAttachmentMetadata que devuelve ReadAttachmentMetadata y el campo Relationship que llena TryGetAnnotationFileAttachment informan el nombre /AFRelationship de la especificación de archivo (ISO 32000-2 Table 43)

Sin esa exportación, esos valores se leen como una cadena vacía, exactamente igual que en una especificación de archivo que no trae entrada /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