Método ServerReport.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.WinForms
Assembly: Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.dll)
Sintaxe
'Declaração
Public Overrides Function GetTotalPages ( _
<OutAttribute> ByRef pageCountMode As PageCountMode _
) As Integer
public override int GetTotalPages(
out PageCountMode pageCountMode
)
public:
virtual int GetTotalPages(
[OutAttribute] PageCountMode% pageCountMode
) override
abstract GetTotalPages :
pageCountMode:PageCountMode byref -> int
override GetTotalPages :
pageCountMode:PageCountMode byref -> int
public override function GetTotalPages(
pageCountMode : PageCountMode
) : int
Parâmetros
- pageCountMode
Tipo: Microsoft.Reporting.WinForms.PageCountMode%
[out] A PageCountMode enumeration value that indicates the page count mode used to calculate the total number of soft 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
For more information, see the GetTotalPages method of the Report class.
When the ReportViewer control is in print layout mode, pageCountMode is always Actual.