THotPDF.SwitchLoadedPages Method
Swaps two zero-based loaded-page positions and rebuilds the loaded page tree
Declaration
procedure SwitchLoadedPages(FirstIndex, SecondIndex: Integer);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FirstIndex | Zero-based index of the first loaded page |
SecondIndex | Zero-based index of the second loaded page |
Return value
This member does not return a value
Usage notes
- Passing the same valid index twice leaves the document unchanged
- Invalid indexes raise an exception