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: GraphicsMill
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
function get_zoom();
function set_zoom(value);

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.

This property corresponds to BaseViewer.Zoom server-side member.

See Also

Reference