Report.SetPage 메서드
참고: 이 API는 더 이상 사용되지 않습니다.
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(Microsoft.ReportingServices.ProcessingCore.dll)
구문
‘선언
<ObsoleteAttribute("Use ReportSection.SetPage(Int32, Int32) instead.")> _
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)
[ObsoleteAttribute("Use ReportSection.SetPage(Int32, Int32) instead.")]
public void SetPage(
int pageNumber,
int totalPages
)
[ObsoleteAttribute(L"Use ReportSection.SetPage(Int32, Int32) instead.")]
public:
void SetPage(
int pageNumber,
int totalPages
)
[<ObsoleteAttribute("Use ReportSection.SetPage(Int32, Int32) instead.")>]
member SetPage :
pageNumber:int *
totalPages:int -> unit
public function SetPage(
pageNumber : int,
totalPages : int
)
매개 변수
- pageNumber
유형: System.Int32
The page number.
- totalPages
유형: System.Int32
The total number of pages.