Skip to content

PDF Get Page Count

Type: pdf-get-page-count  ·  Package: PDF Activities v1.0.0  ·  Output: int

Returns the total number of pages of a PDF. Useful to go through the document page by page or to validate that you have the expected amount.

Opens the PDF and returns how many pages it has.

ParameterEditorDescription
pathexpressionPDF file path.

Ninguno.

Returns a int with the number of pages.

PDF Get Page Count path = = ruta → output: paginas
If condition = = paginas > 50
└─ then:
Log level = warning message = = "El documento tiene " + paginas + " páginas"