Skip to main content

Get PDF Page Count

UiPath.PDF.Activities.GetPDFPageCount

Description

Provides the total number of pages in a PDF file.

Project compatibility

Windows-Legacy | Windows

Configuration

Designer panel

  • FileName - Specifies the full path of the PDF file to be read. This input accepts only strings or string variables.

Properties panel

Common

  • DisplayName - The display name of the activity.

File

  • FileName - Specifies the full path of the PDF file to be read. This input accepts only strings or string variables.
  • Password - Specifies the password of the PDF file, if one is required. This input accepts only strings or string variables.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Output

  • Page count - Provides the page count of the PDF file. The output is an integer value.