Report.GetTotalPages 方法

Returns the total number of logical pages in the report.

命名空间: Microsoft.Reporting.WinForms
程序集: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll 中)

语法

声明
用法

返回值

An integer value containing the total number of logical pages in the report.

备注

GetTotalPages should be called only after rendering of the report is complete. You can use the RenderingComplete event of the control to determine when report rendering finishes.

Because this method returns the number of logical pages in the report, the value returned may not match the number of physical pages in the report.

另请参见

参考

Report 类
Report 成员
Microsoft.Reporting.WinForms 命名空间