ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PageView class / showSelection Method

In This Topic
    showSelection Method
    In This Topic
    Show a selection.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function showSelection( 
       imageRectangle : Rectangle
    ) : (Any);
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfPageView.showSelection(Rectangle);

    Parameters

    imageRectangle
    The location at which the selection should be placed. The units of the rectangle are the same as that for pageWidth (pixels for raster images and points for PDF images). The selection will be clipped to the bounds of the actual image.
    Remarks

    This function causes the viewer to show a selection around the specified rectangle of the image, although that will not affect the visual appearance of the viewer until the browser has some idle time or you call the display() function. If the viewer does not have an open image, this function will do nothing.

    See Also