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

BaseViewer.Zoom Property

Gets/sets the current zoom value.

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

Syntax

Visual Basic
<BrowsableAttribute(True)> _
Public Property Zoom As Single
C#
[BrowsableAttribute(true)]
public float Zoom { get; set; }

Property Value

The number that specifies the current zoom value.

Remarks

Zoom values are measured in percents/100. It means that value = 1 specifies 100% zoom (i.e. actual size), value = 10 means 1000% zoom (10x), value = 0.5 means 50% zoom (half), etc.

Note

If automatic zoom mode is used (i.e. ZoomMode property is not None) the value of this property will be ignored.

Default value is 1.

See Also

Reference

Manual