PDF Get Page Count
PDF Get Page Count
Section titled “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.
How it works
Section titled “How it works”Opens the PDF and returns how many pages it has.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
path | expression | PDF file path. |
Optional parameters
Section titled “Optional parameters”Ninguno.
Output
Section titled “Output”Returns a int with the number of pages.
Example
Section titled “Example”PDF Get Page Count path = = ruta → output: paginasIf condition = = paginas > 50 └─ then: Log level = warning message = = "El documento tiene " + paginas + " páginas"Related activities
Section titled “Related activities”- PDF Get Text (Page) — scroll through each page.
- PDF Get Metadata — more document data.