Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 {
	void add (EventHandler^ value);
	void remove (EventHandler^ value);
}

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft