ZoomChanged Event
Collapse the table of content
Expand the table of content

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 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 .4f70c1c5-f82d-4d5f-8b7d-943b9f99f8e2

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

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft