function AddAnnotationFileAttachment(AnnotIndex: Integer; const Name: WString; const FileData: TBytes): Boolean;
| AnnotIndex | Integer. Zero-based index of the annotation on the current page, typically one of subtype anFileAttachment. |
| Name | WString. File name recorded for the attachment, as a viewer would show it. |
| FileData | TBytes. Bytes of the embedded file. An empty array creates the attachment entry with no contents. |
| Result | Boolean. True when both the attachment and its contents were written. |
ファイルを 1 つの注釈に添付します。これは FileAttachment 注釈がペーパークリップや押しピンのマーカーとして表示するものです。ドキュメントレベルの添付ファイルは別物で、CreateAttachment を介します
成功するとページは変更済みとしてマークされ、後続の SaveAs が添付ファイルをファイルに取り込みます
False の結果は何も添付されなかったことを意味します。注釈を開けなかったか、PDFium ビルドが注釈添付ファイルをエクスポートしていないかのいずれかです