WorkflowView::Zoom Property
.NET Framework (current version)
Gets or sets the zoom level of the WorkflowView.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | If the zoom level is less than the minimum zoom level of the AmbientTheme -or- if the zoom level exceeds the maximum zoom level of the AmbientTheme. |
Use the zoom feature to enlarge or reduce the size of the components inside the WorkflowView. The AmbientTheme sets the minimum and maximum zoom levels for the WorkflowView.
The following example shows how to set the Zoom property of a WorkflowView.
This code example is part of the Workflow Monitor SDK Sample from the MainForm.cs file. For more information, see Workflow Monitor Sample.
.NET Framework
Available since 3.0
Available since 3.0
Show: