[]
        
(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)
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)
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>