Właściwość ReportViewer.PageCountMode —
Gets or sets a PageCountMode enumeration value that indicates the default page count mode to use when rendering a report in the report area.
Przestrzeń nazw: Microsoft.Reporting.WebForms
Zestaw: Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)
Składnia
'Deklaracja
<WebBrowsableAttribute(True)> _
Public Property PageCountMode As PageCountMode
[WebBrowsableAttribute(true)]
public PageCountMode PageCountMode { get; set; }
[WebBrowsableAttribute(true)]
public:
property PageCountMode PageCountMode {
PageCountMode get ();
void set (PageCountMode value);
}
[<WebBrowsableAttribute(true)>]
member PageCountMode : PageCountMode with get, set
function get PageCountMode () : PageCountMode
function set PageCountMode (value : PageCountMode)
Wartość właściwości
Typ: Microsoft.Reporting.WebForms.PageCountMode
A PageCountMode enumeration value. The default value is Estimate.
Uwagi
Set PageCountMode to control how to calculate the total number of pages when rendering a report in the report area. When PageCountMode is Actual, the ReportViewer control displays the actual total number of pages in the toolbar. When PageCountMode is Estimate, the ReportViewer control may calculate either the actual total or an estimated total, depending on the report. When the calculated value is an estimated total, it is followed by an estimate indicator in the toolbar, and the displayed value may change as the user navigates through report pages.
[!UWAGA]
Using estimated page counts can help improve the performance of the ReportViewer control when rendering reports.