ComponentOne AutoComplete for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / GetPageCount Method

In This Topic
    GetPageCount Method
    In This Topic
    Gets the total number of pages in the generated report. Use this method rather than Count on the PageImages collection as accessing that property creates images for all pages at once and thus can exhaust system resources.
    Syntax
    'Declaration
     
    Public Function GetPageCount() As System.Integer
    public System.int GetPageCount()

    Return Value

    The total page count.
    Remarks
    You must call the Render method to create or refresh the pages.
    See Also