pdf.move_page
result = pdf.move_page(src, from, to)
Input: src, from, to · Output: result
What it is
Relocates page from so it becomes page to, keeping every other page's relative order. Both are numbered from 1 and must already be within the document's page range.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = pdf.move_page(src, from, to) | src —not documented yetfrom —Relocates page from so it becomes page to, keeping every other page's relative order.to —Relocates page from so it becomes page to, keeping every other page's relative order. | result Vec | Returns a Vec of bytes, the new PDF. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.