Udostępnij za pośrednictwem


Wyliczenie PageCountMode

Represents values that control whether to calculate the actual page count or use an estimate.

Przestrzeń nazw:  Microsoft.Reporting.WebForms
Zestaw:  Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)

Składnia

'Deklaracja
Public Enumeration PageCountMode
public enum PageCountMode
public enum class PageCountMode
type PageCountMode
public enum PageCountMode

Elementy członkowskie

Nazwa elementu członkowskiego Opis
Actual Calculate the actual page count for the report.
Estimate Provide an estimate of the page count for the report instead of calculating the actual page count.

Uwagi

Pagination in a processed report occurs when the report is rendered. Until the report is rendered, the total page count is unknown.

Rendering a report using the Estimate mode can help improve the performance of report rendering. You can change the PageCountMode property of ReportViewer to control the page count mode it uses when rendering a report in the report area. To specify the page count mode when you render a report programmatically, use the Render method. You can then use the GetTotalPages method to retrieve the total number of pages in the rendered report.

[!UWAGA]

Rendering in Estimate mode can be more performant than Actual mode.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.Reporting.WebForms

MaximumPageCount