ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / ImGearDocument class / pageCount Property

In This Topic
    pageCount Property
    In This Topic
    Indicates the total number of pages in the document.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function get_pageCount() : Number
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfImGearDocument.get_pageCount();
    Remarks

    This read only property is applicable when the pageCountStatus property is set to ImageGear.Web.UI.ImGearPageCountStatus.Known value. This property value will be undefined when the pageCountStatus property is either in ImageGear.Web.UI.ImGearPageCountStatus.UnRequested or ImageGear.Web.UI.ImGearPageCountStatus.RequestPending state. When the value is first available, the document object will raise the propertyChanged event.

    See Also