Método Report.GetTotalPages (PageCountMode%)
Returns the total number of soft pages in the report and a PageCountMode value that indicates the current page count mode.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)
Sintaxe
'Declaração
Public MustOverride Function GetTotalPages ( _
<OutAttribute> ByRef pageCountMode As PageCountMode _
) As Integer
public abstract int GetTotalPages(
out PageCountMode pageCountMode
)
public:
virtual int GetTotalPages(
[OutAttribute] PageCountMode% pageCountMode
) abstract
abstract GetTotalPages :
pageCountMode:PageCountMode byref -> int
public abstract function GetTotalPages(
pageCountMode : PageCountMode
) : int
Parâmetros
- pageCountMode
Tipo: Microsoft.Reporting.WebForms.PageCountMode%
[out] A PageCountMode enumeration value that indicates the page count mode that was used to calculate the total number of pages.
Valor de retorno
Tipo: Int32
An integer value containing the total number of soft pages in the report. For more information on soft pages, see Understanding Rendering Behaviors.
Comentários
Use this method to retrieve the page count mode along with the total number of pages. For more information, see GetTotalPages and PageCountMode.