12-32 -getPageSize: Getting Page Size

Processing

Output the size information of the specified page to standard output.

Example of commands

[Executing example commands]

Outputs the page size information for page 3 of "test.pdf" to standard output. In addition to the page size, obtain the following information:

  • MediaBox
  • CropBox
  • BleedBox
  • TrimBox
  • ArtBox

[Windows]

AHPDFToolCmd80.exe -getPageSize -pageNo 2 -detail -d C:\test\test.pdf

[Linux]

AHPDFToolCmd80 -getPageSize -pageNo 2 -detail -d /home/antenna/test/test.pdf

Folder settings: not applied

Parameters

Parameter

Content

-pageNo <Val>

Sets the page number to obtain page size. Can be omitted.
If not specified, it will obtain the page size of the first page.

Only one page can be specified.

Page number is 0 origin. Therefore, the first page is counted from "0."

-detail

If this parameter is specified, in addition to the page size, obtain MediaBox, CropBox, BleedBox, TrimBox, and ArtBox information.

Output content

See "13-4 -getPageSize: Getting Page Size" for output details.

Please enter alt text.