ImageGear for .NET
fitPage Method
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PageView Class : fitPage Method

type
Indicates how the presentation of the image should change.

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.