WorkflowView.ZoomChanged Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 EventHandler ZoomChanged

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: