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

imageRectangle
The rectangle to display in the viewer. The units for the rectangle are the same as the units for pageWidth and pageHeight (pixels for raster images and points for PDF images).

Glossary Item Box

Displays the specified rectangle in the viewer.

Syntax

ASP.NET Ajax Javascript (Specification) 
function showPageRectangle( 
   imageRectangle : Rectangle
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfPageView.showPageRectangle(Rectangle);

Parameters

imageRectangle
The rectangle to display in the viewer. The units for the rectangle are the same as the units for pageWidth and pageHeight (pixels for raster images and points for PDF images).

Remarks

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.