MindFusion WinForms Programmer's Guide
ZoomControl.SetZoomFactor Method
See Also
 





Sets the current zoom level.

Namespace: MindFusion.Common.WinForms
Assembly: MindFusion.Common.WinForms

 Syntax

C#  Copy Code

public void SetZoomFactor (
    float value,
    bool applyConstraints
)

Visual Basic  Copy Code

Public Sub SetZoomFactor( _
    value As Single, _
    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.Common.WinForms Namespace