THotPDF.ReplaceLoadedPage Method
Method summary: THotPDF.ReplaceLoadedPage Method
Declaration
procedure ReplaceLoadedPage(SourceDoc: THotPDF; SourcePageIndex, DestPageIndex: Integer);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
SourceDoc | Source THotPDF instance containing the page to copy |
SourcePageIndex | Zero-based source page index |
DestPageIndex | Zero-based destination page index in the current loaded document |
Return value
Returns no value
Usage notes
- SourceDoc must remain alive until the copy completes
- Invalid source or destination indexes raise an exception
Related APIs
- THotPDF
- THPDFPage
- Contents