ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI_namespace > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.PageView : currentState Property |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function get_currentState() : PageViewState |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfPageView.get_currentState(); |
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.
ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.PageView
PageView Members