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

In This Topic
    fitPage Method
    In This Topic
    Changes the presentation of the image to one of several pre-defined values.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function fitPage( 
       type : FitType
    ) : (Any);
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfPageView.fitPage(FitType);

    Parameters

    type
    Indicates how the presentation of the image should change.
    Remarks

    This function will discard the current state of the scaling, panning, rotation, and mirroring applied to the image and set new values to match a pre-defined state.

    See Also