This documentation is for the old version. Go to the latest Graphics Mill docs

ViewerBase.ZoomMode Property

Gets/sets a zooming behavior of a control (automatic or manual).

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
Public Overridable Property ZoomMode As ZoomMode
C#
public virtual ZoomMode ZoomMode { get; set; }

Property Value

A ZoomMode member that specifies a zooming behavior.

Remarks

In a manual zoom mode, when this property value is None, you can change the bitmap zoom either using the Zoom property or some zooming navigator.

When the control is in one of automatic modes (BestFit, FitToWidth, and so on), you cannot change the zoom manually, that is the Zoom value will be ignored. That is why you will need to set this property to None.

Note

Note, when you set Navigator to some zooming navigator, this property is reset to None.

See Also

Reference