Report.NeedsTotalPages Property
Gets a value that indicates whether to the Globals!TotalPages or Globals!OverallTotalPages value is used in the page header or footer, and that this value needs to be calculated when generating the rendered output.
Namespace: Microsoft.ReportingServices.OnDemandReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)
Syntax
'Declaration
Public ReadOnly Property NeedsTotalPages As Boolean
Get
'Usage
Dim instance As Report
Dim value As Boolean
value = instance.NeedsTotalPages
public bool NeedsTotalPages { get; }
public:
property bool NeedsTotalPages {
bool get ();
}
member NeedsTotalPages : bool
function get NeedsTotalPages () : boolean
Property Value
Type: System.Boolean
A Boolean value.
Remarks
The Globals!OverallTotalPages value is the total page count of the entire report.
The Globals!TotalPages value is the total page count of a section in the report where PageBreak is used.
See Also
Reference
Microsoft.ReportingServices.OnDemandReportRendering Namespace