Debenu Quick PDF logo

ClonePages

Page manipulation

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 TDebenuPDFLibrary1511.ClonePages(StartPage, EndPage, 
  RepeatCount: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport