13–16 -pageDelete: Deleting Pages

13–16–1 Processing

Deletes the specified number of pages from the input PDF at once.

Note:
Different parts cannot be specified multiple times in one command setting.

13–16–2 Example of commands

[Executing example commands]

Deletes 4 pages from the 6th page (pages 6, 7, 8, 9) of test.pdf and outputs it as out.pdf.

[Windows]

AHPDFToolCmd80.exe -pageDelete 5 4 -d C:\test\test.pdf -o C:\sav\out.pdf

[Linux]

AHPDFToolCmd80 -pageDelete 5 4 -d /home/antenna/test/test.pdf -o /home/antenna/sav/out.pdf

13–16–3 Folder settings: not applied

13–16–4 Parameters

Parameter
Content
[Index]
[Required]
Sets the page position to start deletion. Page number is 0 origin. Therefore, the first page is counted from "0."
[numPages]
Sets the number of pages to delete. Can be omitted.
If not specified, one page will be deleted.