ReportItemCollection.GetReportItemStartAndEndPages Method

Definition

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

public:
 void GetReportItemStartAndEndPages(int currentPage, int index, [Runtime::InteropServices::Out] int % startPage, [Runtime::InteropServices::Out] int % endPage);
public void GetReportItemStartAndEndPages (int currentPage, int index, out int startPage, out int endPage);
member this.GetReportItemStartAndEndPages : int * int * int * int -> unit
Public Sub GetReportItemStartAndEndPages (currentPage As Integer, index As Integer, ByRef startPage As Integer, ByRef endPage As Integer)

Parameters

currentPage
Int32

The page on which the report item collection starts.

index
Int32

The index of the item in the ReportItemCollection.

startPage
Int32

[out] The index of the first page that the item spans.

endPage
Int32

[out] The index of the last page that the item spans.

Applies to