ReportSection.SetPage 方法 (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 _
)
'用途
Dim instance As ReportSection
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
)
參數
- pageNumber
型別:System.Int32
The page number.
- totalPages
型別:System.Int32
The total number of pages.
備註
This method must be called before GetPageSections.