In This Topic
Swaps the specified pages in source document.
Syntax
var instance = new Vintasoft.Imaging.UI.WebDocumentViewerBaseJS(settings);
var value; // Type: any
// Parameters
var firstIndex; // Type: number
var secondIndex; // Type: number
value = instance.swapPages(firstIndex, secondIndex);
function swapPages(
: number,
: number
) : any;
Parameters
- firstIndex
- An index of first page to swap.
- secondIndex
- An index of second page to swap.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
| Thrown if index is less than zero or index is equal or greater than collection length. |
Browser Compatibility
See Also