Qu

pdf.add_link

Builtin index · File I/O

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.

CodeInputOutputDescription
result = pdf.add_link(src, page, rect=, target_page=)
src —not documented yet
page —not documented yet
rect —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.