UiPath Documentation
activities
latest
false
Document Understanding activities

Get PDF Page Count

Get PDF Page Count activity, which returns the total number of pages in a specified PDF file.

UiPath.PDF.Activities.PDF.GetPDFPageCount

Description​

Provides the total number of pages in a PDF file.

Project compatibility​

Windows | Cross-platform

Configuration​

Designer panel​

  • File (local path) - Specifies the full path of the PDF file to be read. This input accepts only strings or string variables. This field is required unless File is set.

Properties panel​

Common​
  • DisplayName - The display name of the activity.
  • File (local path) - Specifies the full path of the PDF file to be read. This input accepts only strings or string variables. This field is required unless File is set.
  • File - The PDF file to use, as a file resource. This field is required unless File (local path) is set.
  • Password - Specifies the password of the PDF file, if one is required. This input accepts only strings or string variables.
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output​
  • PageCount - Provides the page count of the PDF file. The output is an integer value.
  • Description​
  • Project compatibility​
  • Configuration​
  • Designer panel​
  • Properties panel​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated