Método IReportViewerMessages3.TotalPages
Returns the string in the default toolbar that represents the total number of pages in the current report and the PageCountMode that was used to determine it.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.dll)
Sintaxe
'Declaração
Function TotalPages ( _
pageCount As Integer, _
pageCountMode As PageCountMode _
) As String
string TotalPages(
int pageCount,
PageCountMode pageCountMode
)
String^ TotalPages(
int pageCount,
PageCountMode pageCountMode
)
abstract TotalPages :
pageCount:int *
pageCountMode:PageCountMode -> string
function TotalPages(
pageCount : int,
pageCountMode : PageCountMode
) : String
Parâmetros
- pageCount
Tipo: Int32
The total number of pages in the current report.
- pageCountMode
Tipo: Microsoft.Reporting.WinForms.PageCountMode
Indicates whether the pageCount parameter represents an estimated or actual number of pages.
Valor de retorno
Tipo: String
A localized string that represents the total number of pages and the page count mode.
Comentários
When the total number of pages is an estimated total, the returned string replaces both the page count and the default ? symbol in the toolbar.