-
|
The documentation is very sparse on how it would be possible to create a link to another page/location in the same pdf. For example, I need to insert some text into a specific location on the page with embedded link to another page in the same pdf: Where |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
|
So what would you like to see? |
Beta Was this translation helpful? Give feedback.
-
|
So what would you like to see? |
Beta Was this translation helpful? Give feedback.
-
|
Here is some help for your example:
We will include this "recipe" in the documentation. |
Beta Was this translation helpful? Give feedback.
-
|
This example is documented in the latest release, PyMuPDF-1.21.1, e.g. see: https://pymupdf.readthedocs.io/en/latest/page.html#writing |
Beta Was this translation helpful? Give feedback.
Here is some help for your example:
{"kind": fitz.LINK_GOTO, "page": 9, "from": area, "to": point}. Where "point" is afitz.Pointon the target page.page.insert_link(... this dictionary ...).We will include this "recipe" in the documentation.