swap
Swaps two pages in the document.
Parameters
index1
The 0-based index of the first page.
index2
The 0-based index of the second page.
Throws
Thrown when either index is out of range.
Thrown when the operation fails.
Swaps two pages in the document.
The 0-based index of the first page.
The 0-based index of the second page.
Thrown when either index is out of range.
Thrown when the operation fails.