Skip to contents

Wraps FPDFAnnot_UpdateObject. Tells PDFium to re-serialise the annotation's content stream after you've mutated one of the embedded page-objects via the usual pdf_*_set_* setters.

Usage

pdf_annot_update_object(annot, obj)

Arguments

annot

A pdfium_annot of subtype "ink" or "stamp", the only subtypes PDFium edits embedded objects of. Parent doc must be readwrite.

obj

A pdfium_obj returned by pdf_annot_objects() on the same annot handle.

Value

Invisibly returns the parent pdfium_doc.