订阅

UiPath 活动

UiPath 活动指南

Save Document as PDF

UiPath.Word.Activities.WordExportToPdf

描述

将文档导出为 PDF 格式。只能用于“Word 应用程序作用域”活动。

属性

Input

  • File path - The full path of the PDF file to be created. Only String variables and strings are supported.

Note:

必须为字符串加上引号。

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.

UiPath.Word.Activities.WordExportToPdf

描述

Exports the Word document in PDF format. If a PDF file with the same name already exists in the specified location, the file is replaced when the automation is executed. This activity must be added inside a Use Word File activity.

配置活动

In the Body of the Activity

  • File path to save as - Click Browse browse files next to the field, then browse to a folder where to create the PDF file, enter a name for the file, and click Save. Alternatively, you can click Plus plus button on the right side of the field and then, from the menu, choose one of the available options to indicate the path of the PDF file to export to:
    • Data from the Project Notebook, a parent Excel file or Outlook account. For example, select an Excel file and then select a cell that contains a file path, or indicate a field from a selected email in Outlook that contains a file path.
    • Use Saved Value - Select a value in the form of a file path that you previously saved for later use in the project.
    • Text - Enter a file path in the Text Builder. You can combine text with a formula from an Excel file cell, for example to add a date to the file name using formulas in the Project Notebook.
    • Ask when run - Prompt for a file path when the project is executed.
    • Open in Advanced Editor - Enter a VB expression.

In the Properties Panel

Common

  • DisplayName - The name displayed for the activity in the Designer panel.

Input

Misc

  • Private - If selected, the data used in the activity is not logged by StudioX.

9个月前更新


Save Document as PDF


建议的编辑仅限用于 API 参考页面

You can only suggest edits to Markdown body content, but not to the API spec.