ImageGear .NET v25.2 - Updated
documentPageCount Property

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ThumbnailView class : documentPageCount Property
Indicates the number of images in the file that contains the current image.
Syntax
ASP.NET Ajax Javascript (Specification) 
function get_documentPageCount() : Integer
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfThumbnailView.get_documentPageCount();
Remarks

This read-only property will be the number of images in the file that contains the current image, or zero if the viewer does not have a currently-open image.

Note that if you call the openPage function, this property will not change to match the new page count 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 zero if there is no previously-opened image.

See Also

Reference

ThumbnailView class
ThumbnailView Members

Is this page helpful?
Yes No
Thanks for your feedback.