UiPathTeam.ImageWatermarking.Activities 1.0.0

Custom activity to add watermark on an image.

Installation

UiPath Studio

Package Manager -> Right Click -> Configure Sources -> Add https://gallery.uipath.com/api/v2.

Custom activity to add watermark on images.

Usage:

Input arguments:

SourceFilePath

  • required
  • a string that represents the path to the image

DestinationFolder

  • required
  • string type

Text

  • required
  • string type, representing the text to write

ImageFormat

  • required
  • example: System.Drawing.Imaging.ImageFormat.Jpeg

TextPosition

  • optional
  • an object of type Point that represents the position in the pdf to start writing at
  • example: new System.Drawing.Point(100, 200)
  • if not provided, it will be 10 (the minimum defined size)

Color

  • optional
  • example: System.Drawing.Color.FromArgb(100, 255, 0, 0) - the first argument represents transparency (0 is fully transparent), then the three arguments are values for red, green, blue
  • you can find the RGB values here https://www.rapidtables.com/web/color/RGB_Color.html,
  • if not provided, all values are 0

Font

  • optional
  • example: new Font("Arial", 20, FontStyle.Regular, GraphicsUnit.Pixel) (this is also the default value)

Output argument:

ResultedFile

  • string

Custom activity to add watermark on images.

Usage:

Input arguments:

SourceFilePath

  • required
  • a string that represents the path to the image

DestinationFolder

  • required
  • string type

Text

  • required
  • string type, representing the text to write

ImageFormat

  • required
  • example: System.Drawing.Imaging.ImageFormat.Jpeg

TextPosition

  • optional
  • an object of type Point that represents the position in the pdf to start writing at
  • example: new System.Drawing.Point(100, 200)
  • if not provided, it will be 10 (the minimum defined size)

Color

  • optional
  • example: System.Drawing.Color.FromArgb(100, 255, 0, 0) - the first argument represents transparency (0 is fully transparent), then the three arguments are values for red, green, blue
  • you can find the RGB values here https://www.rapidtables.com/web/color/RGB_Color.html,
  • if not provided, all values are 0

Font

  • optional
  • example: new Font("Arial", 20, FontStyle.Regular, GraphicsUnit.Pixel) (this is also the default value)

Output argument:

ResultedFile

  • string

Release Notes

First release.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.0.0 (current version) 18,679 6/5/2018