Get Page Count#

Get the number of pages in a PDF document.

File Name[Text] The name of the PDF file. You can enter the full file name including the path.
Page SizesIf included, the page sizes will be extracted.
Result[Number] Returns the number of pages in the document.
Page Sizes

[List] A list of page sizes.

The page size is obtained by converting to DPI 300 (size / 72.0 * 300).

Error Handling LevelSelect the error handling level. Possible values: "Default" - default; "Ignore" - errors are ignored; "Handle" - errors are handled. If "Default" is selected, the value from the "Start" block of this diagram will be used.
Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.