ImageGear for .NET
closePage Method

Close the current image.
Syntax
ASP.NET Ajax Javascript (Specification) 
function closePage() : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfThumbnailView.closePage();
Remarks

This function causes the viewer to close the current image, reverting the viewer back to a state where it is not displaying an image. Unlike the openPage function, this function does not need to interact with the server, so it will complete it's operation (including raising the pageClosed event) before it returns. Like most other viewer operations, the visual appearance of the viewer will not be updated immediately; instead the viewer will wait until the browser is idle before updating its appearance.

If you call this function while an openPage operation is pending, the control will cancel the pending operation and it will not raise the cancelled pageOpened event.

See Also

Reference

ThumbnailView class
ThumbnailView Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback