Skip to contents

Wraps FPDFAnnot_AppendObject. The page-object must be detached (typically created by pdf_path_new() / pdf_rect_new() / pdf_text_new() / pdf_image_new() before it is inserted into a page). After the call, the annotation owns the page-object — the R-side handle is cleared, so subsequent calls on it error cleanly.

Usage

pdf_annot_append_object(annot, obj)

Arguments

annot

A pdfium_annot of subtype "stamp" or "freetext".

obj

A pdfium_obj.

Value

Invisibly returns the parent pdfium_doc.