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

BitmapViewer.Zoom Property

Gets/sets the current zoom value.

Namespace: Aurigma.GraphicsMill.WebControls
Assembly: Aurigma.GraphicsMill.WebControls (in Aurigma.GraphicsMill.WebControls.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 specify 100% zoom (i.e. actual size), value = 10 means 1000% zoom (10x), value = 0.5 means 50% zoom (half), etc.

Note, when ZoomMode is not None, this property is ignored.

Default value is 1.

See Also

Reference