WorkflowView.ZoomChanged Event

 

Occurs when the zoom setting for the WorkflowView changes.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

Public Event ZoomChanged As EventHandler

The workflow view image is created as a bitmap.

The following code example demonstrates how you can assign a handler to the ZoomChanged event.

This code example is part of the Workflow Monitor SDK Sample from the ViewHost.cs file. For more information, see Workflow Monitor.

this.workflowViewValue = new WorkflowView(this.surface);
this.workflowViewValue.ZoomChanged += new EventHandler(workflowViewValue_ZoomChanged);

.NET Framework
Available since 3.0
Return to top
Show: