pdf.add_link
result = pdf.add_link(src, page, rect=, target_page=)
Input: src, page, rect, target_page · Output: result
What it is
Adds a /Link annotation over rect= that jumps to target_page= (one-based) of the SAME document.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = pdf.add_link(src, page, rect=, target_page=) | src —not documented yetpage —not documented yetrect —Adds a /Link annotation over rect= that jumps to target_page= (one-based) of the SAME document.target_page —Adds a /Link annotation over rect= that jumps to target_page= (one-based) of the SAME document. | result Vec | Returns a Vec of bytes. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.