Skip to content

Remove same nearby text annotation #1039

Discussion options

You must be logged in to vote

You certainly can remove annotations - via Page.delete_annot(annot).
So you only have to identify the right annotation for this, that's it.
Do this by checking / comparing the annotation rectangle or other properties like the text content.
Loop through a page's annotations via tha iterator page.annots(). Here you can also subselect the desired annotation type.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JorjMcKie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants