UiPath 使用 OCR 读取 XPS
UiPath.XPS.Activities.ReadXPSWithOCR
通过使用 OCR 技术读取指定 XPS 文件中的所有字符,并存储在字符串变量中。
属性
Common
DisplayName - The display name of the activity.
File
“文件名”****- 要读取的 XPS 文件的路径。仅支持字符串和字符串变量。
“密码”****- XPS 文件的密码(如有必要)。仅支持字符串和字符串变量。
输入
“并行度”****- 指定要并行分析的页面数量(如有)。“
-1
”值使用机器上的最大逻辑处理器数量,而指定正值也使用该逻辑处理器数量。默认情况下,该属性设为“-1
”。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") to be read. Only string variables and strings are supported. The default value is "All".
Misc
Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
输出
“文本”****- 提取的字符串。该字段仅支持字符串变量。
Example of using the Read XPS With OCR activity
Here you can see how the Read XPS With OCR activity is used in an example that incorporates multiple activities.
