ClonePages
Description
Copies pages from the document multiple times, with only a negligible increase in file size. Note that only the first "layer" of the page is cloned. Unless you specifically want to take part of the page you should call CombineContentStreams for all the pages you want to clone before calling this function.
Syntax
Delphi
function TDebenuPDFLibrary1811.ClonePages(StartPage, EndPage,
RepeatCount: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::ClonePages(StartPage As Long,
EndPage As Long, RepeatCount As Long) As Long
DLL
int DPLClonePages(int InstanceID, int StartPage, int EndPage, int RepeatCount)
Parameters
StartPage | The first page to clone |
EndPage | The last page to clone |
RepeatCount | The number of times to clone the pages |
Return values
0 | The parameters were out of range |
1 | The function was successful |