12-16 -pageDelete: Deleting Pages

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.

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

Folder settings: not applied

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.

Please enter alt text.