Search
ZoomControl.SetZoomFactor Method
See Also
 





Sets the current zoom level.

Namespace: MindFusion.UI.Wpf
Assembly: MindFusion.Common.Wpf

 Syntax

C#  Copy Code

public void SetZoomFactor (
    double value,
    bool applyConstraints
)

Visual Basic  Copy Code

Public Sub SetZoomFactor( _
    value As Double, _
    applyConstraints As Boolean _
)

 Parameters

value

A float value specifying the new zoom level.

applyConstraints

true to apply min/max constraints and align to ZoomStep, or false otherwise.

 See Also

ZoomControl Members
ZoomControl Class
MindFusion.UI.Wpf Namespace