PDFium Delphi Component Docs

GetAttachmentStringValue metode

Komponen: TPdf  ·  Unit: PDFium
Membaca satu entri string dari kamus spesifikasi-file sebuah lampiran

Syntax

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

IndexInteger. Zero-based index of the document-level attachment.
KeyWString. Name of the file-specification dictionary entry.
ResultWString. The stored value, or an empty string when the key is absent or holds no text.

Description

Membaca metadata pribadi yang disimpan produsen di samping file tersemat - jalur sumber, hash konten, penanda alur kerja - tanpa melalui struktur dokumen mentah

Hasil kosong mencakup kunci yang hilang dan nilai kosong; gunakan AttachmentHasKey ketika perbedaannya penting

Entri standar memiliki propertinya sendiri: AttachmentName, AttachmentType, dan AttachmentDescription

See Also

SetAttachmentStringValue, AttachmentHasKey, Attachment, AttachmentDescription