ImageGear .NET v24.14 - Updated
fitPage Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > PageView class : fitPage Method
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

Reference

PageView class
PageView Members