Subscribe

UiPath Activities

The UiPath Activities Guide

Paste Chart/Picture into Document

UiPath.Word.Activities.WordPasteFromClipboard

Description

Pastes a chart or picture that was previously placed on the clipboard into a Word document at the specified position. Can only be used in the Word Application Scope activity.

You can place a chart on the clipboard manually or by using the Copy Chart to Clipboard activity.

Properties

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.

Paste Option

  • Paste option - Choose how the chart/picture should be pasted into the document:
    • EmbedData
    • LinkData
    • Picture
  • Paste relative to - The location relative to which the chart/picture is pasted:
    • Document
    • Text
  • Position where to paste - Specifies the position relative to the target element where the chart/picture is pasted:
    • Start
    • End
    • Before
    • After
    • Replace
  • Text - The text relative to which the chart/picture should be pasted.

Result

  • Found - Indicates if the chart/picture was successfully inserted into the document.

UiPath.Word.Activities.WordPasteFromClipboard

Description

Pastes a chart or picture that was previously placed on the clipboard into a Word document at the specified position. This activity must be added inside a Use Word File activity.


You can place a chart on the clipboard manually or by using the Copy Chart to Clipboard activity.

Configuring the Activity

In the Body of the Activity

  • Paste relative to - Select the location relative to which the chart/picture should be pasted:
    • Document - Provides the following placement options:
      • Start - The chart/picture is pasted at the top of the document.
      • End - The chart/picture is pasted at the bottom of the document.
    • Text - Provides the following placement options:
      • Position where to paste - Select the position where to paste the chart/picture: Before, After, or in place of (Replace) the specified text.
      • Text to search for - 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 text to search for:
        • 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 the text, or indicate a field from a selected email in Outlook that contains the text.
        • Ask when run - Prompt for the text when the project is executed.
        • Paste from clipboard - Paste text that you previously copied to the clipboard in the project.
        • Text - Enter the text in the Text Builder.
        • Use Saved Value - Select a value that you previously saved for later use in the project.
        • Open in Advanced Editor - Enter a VB expression.
        .
    • Paste option - Choose how the chart/picture should be pasted into the document.

In the Properties Panel

Common

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

Misc

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

Paste Option

Result

  • Found - Indicates if the chart/picture was successfully inserted into the document.

Updated 4 months ago


Paste Chart/Picture into Document


Suggested Edits are limited on API Reference Pages

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