ImageGear .NET
selectionWindowRectangle Property

Indicates the portion of the window that is currently selected.
Syntax
ASP.NET Ajax Javascript (Specification) 
function get_selectionWindowRectangle() : Rectangle
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfPageView.get_selectionWindowRectangle();
Remarks

This read-only property will be a rectangle that indicates what portion of the image is currently selected. Although this property represents the same rectangle as the selectionPageRectangle property, this rectangle is measured with respect to the window instead of the image and the units for the rectangle will be window pixels instead of image units. 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

Reference

PageView class
PageView Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback