ReportSection.SetPage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the current page number and total page count.
Overloads
SetPage(Int32, Int32) |
Sets the current page number and total page count. |
SetPage(Int32, Int32, Int32, Int32) |
Sets the current page number and total page count. |
Remarks
This method must be called before GetPageSections.
SetPage(Int32, Int32)
Sets the current page number and total page count.
public:
void SetPage(int pageNumber, int totalPages);
public void SetPage (int pageNumber, int totalPages);
member this.SetPage : int * int -> unit
Public Sub SetPage (pageNumber As Integer, totalPages As Integer)
Parameters
- pageNumber
- Int32
The page number.
- totalPages
- Int32
The total number of pages.
Remarks
This method must be called before GetPageSections.
Applies to
SetPage(Int32, Int32, Int32, Int32)
Sets the current page number and total page count.
public:
void SetPage(int pageNumber, int totalPages, int overallPageNumber, int overallTotalPages);
public void SetPage (int pageNumber, int totalPages, int overallPageNumber, int overallTotalPages);
member this.SetPage : int * int * int * int -> unit
Public Sub SetPage (pageNumber As Integer, totalPages As Integer, overallPageNumber As Integer, overallTotalPages As Integer)
Parameters
- pageNumber
- Int32
The page number within the report section.
- totalPages
- Int32
The total number of pages in the report section.
- overallPageNumber
- Int32
The overall page number in the report.
- overallTotalPages
- Int32
The total number of pages in the report.
Remarks
This method must be called before GetPageSections.