PDF Extract Pages
PDF Extract Pages
Section titled “PDF Extract Pages”Type: pdf-extract-pages · Package: PDF Activities v1.0.0 · Output: string
Extracts specific pages from a PDF and saves them to a new file. Useful to keep only what is relevant: separate an annex, eliminate blank pages, cut a document.
How it works
Section titled “How it works”Take the pages indicated in pages from the source PDF and create a new PDF in output. Pages are specified with a range in text ("1-3,5,7-9") or a list of numbers. Returns the path of the created file.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
path | expression | Source PDF path. |
pages | expression | Pages to extract: range ("1-3,5") or list of numbers. |
output | expression | Path of the resulting PDF. |
Optional parameters
Section titled “Optional parameters”Ninguno.
Output
Section titled “Output”Returns a string with the path of the created PDF.
Example
Section titled “Example”PDF Extract Pages path = = ruta pages = "1-3,5" output = "C:/resumen.pdf"Related activities
Section titled “Related activities”- PDF Split — split all pages into single files.
- PDF Merge — combinar varios PDF.
- PDF Search Text — find the pages to extract.