Skip to main content

Replace Picture

Description

Replaces all the occurrences of a picture in a Word document with another specified picture. The picture to replace inside the Word document is identified by its Alt Text property. This activity can only be used within a Word Context activity scope.

note

The existing bookmarks will be listed based on the design-time template specified as part of Word Context activity.

Properties

Input

  • Alt Text - The Alt Text of the picture that you want to replace
  • Picture Path - Path of the picture file that you want to use as a replacement

Misc

  • DisplayName – Add a display name to your activity.
  • Private – By default, activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

Optional

  • Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
    note

    Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.

Example

Download Example

Replace Picture