Action group: PDF
The action deletes the set range of pages from the PDF-document
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Context | Action context for working with a PDF document. | Robin.PDF | PDF context | Yes |
File name | File name of PDF document with deleted pages. If the field is left empty, the name of the original file will be used. | Robin.String | No | |
Folder path | Path to folder where PDF document file with deleted pages will be saved. If the field remains empty, the file will be saved in the original folder. | Robin.FolderPath | C:\doc\img | No |
Overwrite | If the value is "true" and a PDF document with the same name exists in the specified folder, the new file will overwrite it. If "false", the document will not be overwritten and the action will return an error. | Robin.Boolean | true | No |
Page range | Range of pages to be removed from PDF document. The page range can be one or two numbers with a "-", with the second number being larger than the first. Example of filling: "1-5" or "6". | Robin.String | Yes | |
Results | ||||
Result | Path to PDF document file with deleted pages. | Robin.FilePath |
You have a PDF-file with five pages:
Delete the first two pages, change file name to "New PDF", and save it to a different folder.
Use the "Open PDF", "Delete pages" actions.
The program robot completed successfully. The file name and path were changed.
The first two pages were deleted from the file: