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

In This Topic
    currentState Property
    In This Topic
    Indicates the current state of the control.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function get_currentState() : PageViewState
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfPageView.get_currentState();
    Remarks

    This read-only property will be an PageViewState object that contains the state of the viewer, including such things as the image identifier and the current scaling, rotation, and scrolling values. Note that if you call openPage, the value of this property will immediately change to reflect the image to be opened, even if the opening process has not completed (and the viewer has not yet raised the pageOpened event).

    You can use this as part of an undo system, or if you want to save a persistent link to a particular view of an image.

    See Also