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

Glossary Item Box

Indicates the portion of the image that is currently selected.

Syntax

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

Remarks

This read-only property will be a rectangle that indicates what portion of the image is currently selected. The units for the rectangle will be the same as the pageWidth and pageHeight properties (pixels for raster images and points for PDF images). If the viewer does not have a current, visible selection, this function will return a rectangle with x, y, width, and height all set to zero.

Note that this value will match the actual target state of the viewer, but the viewer may not have updated the visual presentation to match that state.

See Also

©2013. Accusoft Corporation. All Rights Reserved.