This function allows you to swap two pages.
Parameters
- docuViewareID
- The identifier for the DocuVieware™ instance you want to swap the pages from.
- page1
- The number of the first page to swap.
- page2
- The number of the second page to swap.
- success
- A function that will be executed upon success.
- error
- A function that will be executed upon error.
Return Value
1 if error, 0 if success.