Print Page | Close Window

CopyPageRanges (Delphi)

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1542
Printed Date: 23 Nov 24 at 7:45AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: CopyPageRanges (Delphi)
Posted By: cwenet
Subject: CopyPageRanges (Delphi)
Date Posted: 14 Aug 10 at 2:14PM
Hi,

I tried this, but something is missing to do the CopyPageRanges:

var QP: QuickPDF;
   d1,d2: integer;
begin
QP:= QuickPDF.Create;
QP.LoadFromFile('myFile.pdf');
d1 := QP.SelectedDocument;
QP.CopyPageRanges(d1,'1-10');

QP.SaveToFile('MyRange.pdf');

end;

There is allways the complete file in MyRange.pdf

regards
Christoph



Replies:
Posted By: Ingo
Date Posted: 14 Aug 10 at 5:05PM
Hi Christoph!

Since 2006 in the forum and not using the (advanced) search function above ... ;-)
Try the sample from JanN:
http://www.quickpdf.org/forum/copypageranges-corrupts-original-document_topic1254_post5746.html?KW=CopyPageRange#5746

BTW: I've used the advanced search function with CopyPageRange + all forums + any time.

Cheers, Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk