Метод ReportSection.SetPage (Int32, Int32, Int32, Int32)
Sets the current page number and total page count.
Пространство имен: Microsoft.ReportingServices.OnDemandReportRendering
Сборка: Microsoft.ReportingServices.ProcessingCore (в Microsoft.ReportingServices.ProcessingCore.dll)
Синтаксис
'Декларация
Public Sub SetPage ( _
pageNumber As Integer, _
totalPages As Integer, _
overallPageNumber As Integer, _
overallTotalPages As Integer _
)
'Применение
Dim instance As ReportSection
Dim pageNumber As Integer
Dim totalPages As Integer
Dim overallPageNumber As Integer
Dim overallTotalPages As Integer
instance.SetPage(pageNumber, totalPages, _
overallPageNumber, overallTotalPages)
public void SetPage(
int pageNumber,
int totalPages,
int overallPageNumber,
int overallTotalPages
)
public:
void SetPage(
int pageNumber,
int totalPages,
int overallPageNumber,
int overallTotalPages
)
member SetPage :
pageNumber:int *
totalPages:int *
overallPageNumber:int *
overallTotalPages:int -> unit
public function SetPage(
pageNumber : int,
totalPages : int,
overallPageNumber : int,
overallTotalPages : int
)
Параметры
- pageNumber
Тип: System.Int32
The page number within the report section.
- totalPages
Тип: System.Int32
The total number of pages in the report section.
- overallPageNumber
Тип: System.Int32
The overall page number in the report.
- overallTotalPages
Тип: System.Int32
The total number of pages in the report.
Замечания
This method must be called before GetPageSections.
См. также
Справочник
Пространство имен Microsoft.ReportingServices.OnDemandReportRendering