Click or drag to resize

PDFMergeReorderPages Method

Changes the order of the pages merged so far.

Namespace: ExpertPdf.MergePdf
Assembly: epmergepdf (in epmergepdf.dll) Version: 10.0
Syntax
public void ReorderPages(
	int[] newOrder
)

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.
Remarks
The 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