PDFium Delphi Component Docs

GetAttachmentStringValue 메서드

컴포넌트: TPdf  ·  유닛: PDFium
첨부 파일의 파일 명세 사전에서 문자열 항목 하나를 읽습니다

구문

function GetAttachmentStringValue(Index: Integer; const Key: WString): WString;

IndexInteger. 문서 수준 첨부 파일의 0부터 시작하는 인덱스입니다
KeyWString. 파일 명세 사전 항목의 이름입니다
ResultWString. 저장된 값이며, 키가 없거나 텍스트가 없으면 빈 문자열입니다

설명

원본 문서 구조를 직접 다루지 않고, 생산자가 내장 파일과 함께 저장한 개인 메타데이터(원본 경로, 콘텐츠 해시, 워크플로 표식)를 읽습니다

빈 결과는 키가 없는 경우와 값이 빈 경우를 모두 포함하며, 그 차이가 중요하면 AttachmentHasKey를 사용합니다

표준 항목에는 각자의 속성이 있습니다: AttachmentName, AttachmentType, AttachmentDescription

관련 항목

SetAttachmentStringValue, AttachmentHasKey, Attachment, AttachmentDescription