ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > PageView class : extendSelection Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function extendSelection( imagePoint : Point ) : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfPageView.extendSelection(Point); |
This function causes the viewer to adjust the current selection so the given point is at one of the corners, although that will not affect the visual appearance of the viewer until the browser has some idle time or you call the display function. Normally, you will want to use showEmptySelection and extendSelection together to define a rectangle. Start by calling showEmptySelection, followed by one or more calls to extendSelection. If the viewer does not have an open image, this function will do nothing.