You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmyers009
changed the title
documentation bug - old code in the annotations documentation
documentation issue - old code in the annotations documentation
Jul 18, 2024
Addresses #3698.
Also moved annotation inline example code into docs/samples/ so that it is
checked by tests/test_docs_samples.py.
Note that freetext code appears to create a different third image from the
docs.
Addresses #3698.
Also moved annotation inline example code into docs/samples/ so that it is
checked by tests/test_docs_samples.py.
Note that freetext code appears to create a different third image from the
docs.
Addresses #3698.
Also moved annotation inline example code into docs/samples/ so that it is
checked by tests/test_docs_samples.py.
Note that freetext code appears to create a different third image from the
docs.
Description of the bug
Code in documentation is outdated.
How to reproduce the bug
How to Use Ink Annotations section:
page.addInkAnnot function outdated. should be page.add_ink_annot
How to Use FreeText section:
add 3 annots, modify the last one somewhat
a1 = page.add_freetext_annot(r1, t, color=red)
a2 = page.add_freetext_annot(r2, t, fontname="Ti", color=blue)
a3 = page.add_freetext_annot(r3, t, fontname="Co", color=blue, rotate=90)
color does not work in this way.
PyMuPDF version
1.24.7
Operating system
Windows
Python version
3.11
The text was updated successfully, but these errors were encountered: