Skip to content
Discussion options

You must be logged in to vote

Sure, do the following:

flags=a.flags
flags |= fitz.PDF_ANNOT_IS_HIDDEN
a.set_flags(flags)
# no a.update(), respectively after any update()
doc.save("x.pdf")

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Mano2731995
Comment options

@JorjMcKie
Comment options

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