Skip to contents

Wraps FPDFAnnot_SetAP. Replaces the annotation's /AP appearance-stream entry for the named mode with the given content string. Pass "" to clear the entry.

Usage

pdf_annot_set_appearance(annot, mode = "normal", value = "")

Arguments

annot

A pdfium_annot.

mode

Character scalar — one of "normal", "rollover", or "down".

value

Character scalar — the appearance-stream content. The empty string clears the entry.

Value

Invisibly returns the parent pdfium_doc.

See also

pdf_annot_appearance() for the reader counterpart.