pdf.delete_page
result = pdf.delete_page(src, page)
Input: src, page · Output: result
What it is
Removes page. Every other page's own resources, fonts and content are untouched. Deleting a document's only page is refused by name -- a zero-page PDF is not a document any reader can open.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = pdf.delete_page(src, page) | src —not documented yetpage —Removes page. | 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.