Parameters
- index
- Position where the new page will be inserted in the document.
- page
- PdfPage to add to the document.
Since the PdfPage class has no public constructors, the only way to use this overload is to remove an existing page from the document first, then add that page back into the document.
Each page can appear only once in the document. Trying to add the same page twice will throw an exception.