UiPath Documentation
activities
latest
false
Document Understanding activities

Read XPS Text

Read XPS Text activity, which reads all characters from a specified XPS file and stores them in a string variable.

UiPath.XPS.Activities.ReadXPSText

Description​

Reads all characters from a specified XPS file and stores it in a string variable.

Project compatibility​

Windows

Configuration​

Designer panel​

  • FileName - The path of the XPS file to be read. Only String variables and strings are supported.

Properties panel​

File​
  • FileName - The path of the XPS file to be read. Only String variables and strings are supported.
  • Password - The password of the XPS file, if necessary. Only String variables and strings are supported.
Input​
  • Range - The range of pages that you want to read. If the range isn't specified, the whole file is read. You can specify a single page (e.g. "7"), a range of pages (e.g. "7-12"), or a complex range, (e.g. "2-5, 7, 15-End" or "All"). Only string variables and strings are supported. The default value is "All".
Output​
  • Text - The extracted string. This field supports only String variables.
Common​
  • DisplayName - The display name of the activity.
Misc​
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Example of using the Read XPS Text activity​

Visit Read XPS files to check how the Read XPS Text activity is used in an example that incorporates multiple activities.

  • Description​
  • Project compatibility​
  • Configuration​
  • Designer panel​
  • Properties panel​
  • Example of using the Read XPS Text activity​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated