Qu

pdf.remove_annotation

Builtin index · File I/O

result = pdf.remove_annotation(src, page, index)

Input: src, page, index · Output: result

What it is

Removes the index-th entry of a page's /Annots array (the index pdf.annotations reports), deleting the underlying object too. An out-of-range index is a named error.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = pdf.remove_annotation(src, page, index)
src —not documented yet
page —Removes the index-th entry of a page's /Annots array (the index pdf.annotations reports), deleting the underlying object too.
index —Removes the index-th entry of a page's /Annots array (the index pdf.annotations reports), deleting the underlying object too.
result Vec
Returns a Vec of bytes.

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.