WorkflowView.ZoomChanged 事件

定义

WorkflowView 的缩放设置更改时发生。

public:
 event EventHandler ^ ZoomChanged;
public event EventHandler ZoomChanged;
member this.ZoomChanged : EventHandler 
Public Custom Event ZoomChanged As EventHandler 
Public Event ZoomChanged As EventHandler 

事件类型

示例

下面的代码示例演示如何为 ZoomChanged 事件分配一个处理程序。

此代码示例摘自 ViewHost.cs 文件中的工作流监视器 SDK 示例。 有关详细信息,请参阅 工作流监视器

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

注解

工作流视图图像以位图格式创建。

适用于

另请参阅