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.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int GetPageCount()
Visual Basic
Public Function GetPageCount As Integer

Return Value

The total page count.

Remarks

You must call the Render()()()() method to create or refresh the pages.

See Also