Search

Search:

Namespace:

Search Result
.
  • WorkflowView
.

You never need to use this class for normal workflow operations. The only reason to use it is when you are rehosting the designer or need the WorkflowView SaveWorkflowImage function to create an image of the workflow.

.

See also WorkflowView, DesignSurface and WorkflowDesignerLoader.

.
Summary
Function of a WorkflowView that saves the workflow layout as an image.
.

Required classes are the DesignSurface, WorkflowView and a custom WorkflowDesignerLoader.

.
        Dim view As New WorkflowView(CType(surface, IServiceProvider))
.

You never need to use this class for normal workflow operations. The only reason to use it is when you are rehosting the designer or need the WorkflowView SaveWorkflowImage function to create an image of the workflow.

.

One caveat to be aware of is that the code needs to run under a thread with an STA ApartmentState. If not you will receive errors messages that the DragDrop registration did not succeed while creating the WorkflowView.