You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

BaseViewer.Zoom Property

Applies to: Graphics Mill Web Controls · Archived documentation

Gets/sets the current zoom value.

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

Syntax

C#
public virtual 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