ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PageView class / zoomIn Method

In This Topic
    zoomIn Method
    In This Topic
    Zooms in on the current image.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function zoomIn( 
       factor : number
    ) : (Any);
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfPageView.zoomIn(number);

    Parameters

    factor
    Use this parameter to indicate how much to zoom in on the image. The value should be greater than 1 because 1 indicates no zooming. A value of 2 indicates the image should double in size. Typically, you should use a value between 1.25 and 1.75.
    Remarks

    Zooms in on the current image, while keeping the portion of the image at the center of the viewer remaining in the same location.

    See Also