Get number of pages Version 4 (Net)

Action group: PDF


Description

The action saves the number of pages in the document to a variable.

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextAction context for working with an PDF-documentRobin.PDFPDF contextYes
Results
ResultThe variable into which the number of document pages will be writtenRobin.Numeric

Special conditions of use

None.

Example of use

Task

Open a PDF document and get the number of pages.

Solution

Use the "Open PDF", "Get number of pages" actions.

Implementation

  1. Assemble a robot scheme with the actions.

  2. Set the "Open PDF" action parameter.

  3. Set the "Get number of pages" action parameters.

  4. Click "Start" in the top panel.

Result

The program robot completed successfully. The number of pages in the document was obtained.

  • Нет меток