PDFium Delphi Component Docs

AttachmentRelationshipFeaturesAvailable 함수

유닛: PDFium
로드된 pdfium.dll이 FPDFAttachment_GetAFRelationship을 익스포트하는지 보고합니다

Syntax

function AttachmentRelationshipFeaturesAvailable: Boolean;

Parameters

없음

Return Value

Boolean

Description

AttachmentRelationshipFeaturesAvailable은 필요할 때 선택한 PDFium 모듈을 로드하고, 선택 사항인 FPDFAttachment_GetAFRelationship 엔트리 포인트가 익스포트되어 있으면 True를 반환합니다

익스포트가 있으면 AttachmentRelationship, ReadAttachmentMetadata가 반환하는 TPdfAttachmentMetadata의 Relationship 필드, 그리고 TryGetAnnotationFileAttachment가 채우는 Relationship 필드가 file specification의 /AFRelationship 이름(ISO 32000-2 Table 43)을 보고합니다

익스포트가 없으면 이 값들은 /AFRelationship 항목이 아예 없는 file specification에서와 똑같이 빈 문자열로 읽힙니다

Remarks

Example

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

See Also

TPdf.AttachmentRelationship, TPdf.ReadAttachmentMetadata, AttachmentDescriptionFeaturesAvailable