ImageAddText

Description

This activity adds text to an existing image.


Input

ImageDmFile InArgument<IDmFile> REQUIRED

The Image to add text to.

Text InArgument<String> REQUIRED

The text that must be added to the image.


Options

BackgroundColor KnownColor

If TextPosition is BeforeTop of AfterBottom, then a new image portion will be created at the top or at the bottom of the image. This property defines the color that must be used to fill that new portion. This color should contrast with TextColor to make the text readable.

Indicates if the text should be bold.

The name of the font to be used. The font must be installed on the server that runs the Workflow Service. The default value is Calibri.

FontSize InArgument<Float>

The font size to be used.

Indicates if the text should be italic.

Strikeout InArgument<Boolean>

Indicates if the text should be striked.

TextAlignment ETextAlignment

The horizontal alignment of the text

TextColor KnownColor

The color to be used when drawing the text.

TextPosition ETextPosition REQUIRED

The position in the page where text should be added.

Underline InArgument<Boolean>

Indicates if the text should be underlined.


Output

Result OutArgument<IDmFile> REQUIRED

The newly created image with the text.