Skip to contents

Wraps FPDFAnnot_SetStringValue for callers that want to write a specific /key value pair beyond the common /Contents / /T / /Subj shortcuts. Symmetric with pdf_annot_dict_value() for reading.

Usage

pdf_annot_set_dict_value(annot, key, text)

Arguments

annot

A pdfium_annot handle. Parent doc must be readwrite.

key

Character scalar — the PDF dictionary key (e.g. "CreationDate", "NM", "M").

text

Character scalar (UTF-8).

Value

Invisibly returns the parent pdfium_doc.