ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PageView class / displayedPageRectangle Property

In This Topic
    displayedPageRectangle Property
    In This Topic
    Indicates the portion of the image that is currently being displayed.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function get_displayedPageRectangle() : Rectangle
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfPageView.get_displayedPageRectangle();
    Remarks

    This read-only property will be a rectangle (contains x, y, width, and height properties) that indicates what portion of the image is currently being displayed. 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 currently-opened image, 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