다음을 통해 공유


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.

네임스페이스:  Microsoft.ReportingServices.OnDemandReportRendering
어셈블리:  Microsoft.ReportingServices.ProcessingCore.dll의 Microsoft.ReportingServices.ProcessingCore

구문

‘선언
Public Sub SetPage ( _
    pageNumber As Integer, _
    totalPages As Integer _
)
‘사용 방법
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
)

매개 변수