[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PrintManager.UpdatePageNumberAndPageSettings

UpdatePageNumberAndPageSettings Method

UpdatePageNumberAndPageSettings(IList<PageInfo>)

Update the page number, page count and page settings of each page. When the page collection changes (add, delete, move), you need to call this method to update the pages information.

Declaration
public void UpdatePageNumberAndPageSettings(IList<PageInfo> pages)
Public Sub UpdatePageNumberAndPageSettings(pages As IList(Of PageInfo))
Parameters
Type Name Description
IList<PageInfo> pages

The page collection.

UpdatePageNumberAndPageSettings(IList<PageInfo>, int, int)

Update the page number, page count and page settings of each page. When the page collection changes (add, delete, move), you need to call this method to update the pages information.

Declaration
public void UpdatePageNumberAndPageSettings(IList<PageInfo> pages, int firstPageNumber, int pageCount)
Public Sub UpdatePageNumberAndPageSettings(pages As IList(Of PageInfo), firstPageNumber As Integer, pageCount As Integer)
Parameters
Type Name Description
IList<PageInfo> pages

The page collection.

int firstPageNumber

The page number of the first page.

int pageCount

The total number of pages.