ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PageView class : showPageRectangle Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function showPageRectangle( imageRectangle : Rectangle ) : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfPageView.showPageRectangle(Rectangle); |
Displays the portion of the current image, as specified in the imageRectangle parameter, in the viewer. Unless the aspect ratio of the rectangle matches the viewer, the viewer will expand either the width or height of the rectangle to match the aspect ratio.