Skip to content

PDF Get Text (Page)

Type: pdf-get-text-page  ·  Package: PDF Activities v1.0.0  ·  Output: string

Extracts text from a specific page of a PDF. Useful when the data you are looking for is always on a specific page (the first, the last), or to process the document page by page.

Returns the text of the page indicated by page (numbered from 1).

ParameterEditorDescription
pathexpressionPDF file path.
pageexpressionPage number (starting at 1).

Ninguno.

Returns a string with the text of that page.

Go through all the pages reading each one:

PDF Get Page Count path = = ruta → output: total
For Loop from = 1 to = = total + 1 indexVariable = p
└─ activities:
PDF Get Text (Page) path = = ruta page = = p → output: textoPagina
... procesar la página ...