Share via


ReportItemCollection.GetReportItemStartAndEndPages Method

Determines the page on which an item in the report item collection should appear, based on soft page breaks.

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public Sub GetReportItemStartAndEndPages ( _
    currentPage As Integer, _
    index As Integer, _
    <OutAttribute> ByRef startPage As Integer, _
    <OutAttribute> ByRef endPage As Integer _
)
'Usage
Dim instance As ReportItemCollection
Dim currentPage As Integer
Dim index As Integer
Dim startPage As Integer
Dim endPage As Integer

instance.GetReportItemStartAndEndPages(currentPage, _
    index, startPage, endPage)
public void GetReportItemStartAndEndPages(
    int currentPage,
    int index,
    out int startPage,
    out int endPage
)
public:
void GetReportItemStartAndEndPages(
    int currentPage, 
    int index, 
    [OutAttribute] int% startPage, 
    [OutAttribute] int% endPage
)
member GetReportItemStartAndEndPages : 
        currentPage:int * 
        index:int * 
        startPage:int byref * 
        endPage:int byref -> unit 
public function GetReportItemStartAndEndPages(
    currentPage : int, 
    index : int, 
    startPage : int, 
    endPage : int
)

Parameters

  • currentPage
    Type: System.Int32
    The page on which the report item collection starts.
  • startPage
    Type: System.Int32%
    [out] The index of the first page that the item spans.
  • endPage
    Type: System.Int32%
    [out] The index of the last page that the item spans.