PDFMergeReorderPages Method |
Changes the order of the pages merged so far.
Namespace: ExpertPdf.MergePdfAssembly: epmergepdf (in epmergepdf.dll) Version: 10.0
Syntaxpublic void ReorderPages(
int[] newOrder
)
Public Sub ReorderPages (
newOrder As Integer()
)
Parameters
- newOrder Int32
- The new order of the pages: newOrder[i] is the zero based index (in the current
order) of the page that goes to position i. It must contain each page index from 0 to
GetCurrentPageCount - 1 exactly once. For example, { 2, 0, 1 } moves the third page of a
3 pages merge to the front.
RemarksThe pages added after this call go to the end of the merged document (or to the position given to
an Insert method). The bookmarks of the merged documents keep opening the same pages.
See Also