This documentation version is deprecated. Please click here for the latest version

SDK: Custom Step Icons

Prev Next

Overview

If a step is created using the SDK, a custom icon for the step can be added with the ShapeImageAndColorProvider attribute.

Example

When creating a step, add the ShapeImageAndColorProvider attribute.

[Writable]
[ShapeImageAndColorProvider(null, "flow step images|string.svg")]
[AutoRegisterStep("Custom Step Examples", "SDK Examples")]
public class CustomSDKStep2 : BaseFlowAwareStep, ISyncStep, IDataConsumer
{
    private const string YES_RESULT = "Yes";
    private const string NO_RESULT = "No";


The string, "flow step images|string.svg", is going to look in the install directory C:\Program Files\Decisions\Images\ for the Flow step images folder and the 'string.svg' image inside that folder.


Default:
Updated: