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 : encodedDocumentIdentifier Property |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function get_encodedDocumentIdentifier() : String |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfPageView.get_encodedDocumentIdentifier(); |
This read-only property will be the encoded image identifier for the current image, or an empty string if the viewer does not have a currently-open image. This property will always match the documentIdentifier property, except that this one is base64-encoded so the control can safely use it in a URL or in JavaScript code.
Note that if you call the openPage function, this property will not change to match the new image identifier until the image is fully opened, which will occur just before the viewer raises the pageOpened event. Prior to that time, this property will continue to hold the value for the previously-opened image or an empty string if there is no previously-opened image. If you need the new value of this property before the viewer raises the pageOpened event, use the currentState property.
ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.PageView
PageView Members