Metoda LocalReport.GetTotalPages — (PageCountMode%)
Returns the total number of soft pages in the report and a PageCountMode enumeration value that indicates the current page count mode.
Przestrzeń nazw: Microsoft.Reporting.WebForms
Zestaw: Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)
Składnia
'Deklaracja
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
Parametry
- pageCountMode
Typ: Microsoft.Reporting.WebForms.PageCountMode%
[out] A PageCountMode enumeration value that indicates the page count mode used to calculate the total number of soft pages.
Wartość zwracana
Typ: Int32
An integer value containing the total number of soft pages in the report.For more information on soft pages, see Understanding Rendering Behaviors.
Uwagi
For more information, see the GetTotalPages method of the Report class.