[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PrintManager.GetPaginationInfo

GetPaginationInfo Method

GetPaginationInfo(IWorksheet, PaginationOrientation)

Returns an array of row or column indexes which represents the page boundaries for vertical or horizontal paging. The Pagination is based on the settings in the PageSetup of the current worksheet.

Declaration
public IList<int> GetPaginationInfo(IWorksheet worksheet, PaginationOrientation orientation)
Public Function GetPaginationInfo(worksheet As IWorksheet, orientation As PaginationOrientation) As IList(Of Integer)
Parameters
Type Name Description
IWorksheet worksheet

The worksheet object.

PaginationOrientation orientation

The orientation of pagination.

Returns
Type Description
IList<int>

GetPaginationInfo(IWorksheet, PaginationOrientation, IList<IRange>, IList<RepeatSetting>)

Returns an array of row or column indexes which represents the page boundaries for vertical or horizontal paging. The Pagination is based on the settings in the PageSetup of the current worksheet.

Declaration
public IList<int> GetPaginationInfo(IWorksheet worksheet, PaginationOrientation orientation, IList<IRange> keepTogetherRanges, IList<RepeatSetting> repeatSettings)
Public Function GetPaginationInfo(worksheet As IWorksheet, orientation As PaginationOrientation, keepTogetherRanges As IList(Of IRange), repeatSettings As IList(Of RepeatSetting)) As IList(Of Integer)
Parameters
Type Name Description
IWorksheet worksheet

The worksheet object.

PaginationOrientation orientation

The orientation of pagination.

IList<IRange> keepTogetherRanges

The collection of ranges that need to keep together.

IList<RepeatSetting> repeatSettings

The collection of repeat settings for a Range.

Returns
Type Description
IList<int>