ImageGear .NET v24.12 - Updated
currentState Property

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > PageView class : currentState Property
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

Reference

PageView class
PageView Members