Método SetPage
Sets the current page number and total page count.This method must be called before GetPageSections.The totalPages argument must be accurate if NeedsHeaderFooterEvaluation is true. Otherwise, this argument is unused.
Namespace: Microsoft.ReportingServices.OnDemandReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (em Microsoft.ReportingServices.ProcessingCore.dll)
Sintaxe
'Declaração
Public Sub SetPage ( _
pageNumber As Integer, _
totalPages As Integer _
)
'Uso
Dim instance As Report
Dim pageNumber As Integer
Dim totalPages As Integer
instance.SetPage(pageNumber, totalPages)
public void SetPage(
int pageNumber,
int totalPages
)
public:
void SetPage(
int pageNumber,
int totalPages
)
member SetPage :
pageNumber:int *
totalPages:int -> unit
public function SetPage(
pageNumber : int,
totalPages : int
)
Parâmetros
- pageNumber
Tipo: System. . :: . .Int32
The page numer.
- totalPages
Tipo: System. . :: . .Int32
The total number of pages.
Consulte também