pdf.remove_annotation
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.
| Code | Input | Output | Description |
result = pdf.remove_annotation(src, page, index) | src —not documented yetpage —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.