Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - ClonesPages - Subsequent SelectPage calls
  FAQ FAQ  Forum Search   Register Register  Login Login

ClonesPages - Subsequent SelectPage calls

 Post Reply Post Reply
Author
Message
juanf View Drop Down
Beginner
Beginner


Joined: 10 Nov 14
Location: South Africa
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote juanf Quote  Post ReplyReply Direct Link To This Post Topic: ClonesPages - Subsequent SelectPage calls
    Posted: 15 Nov 14 at 4:09PM
Hi,

When I use the ClonePages to clone all pages from pdf and repeated x number of times to a file, 
then save the file, when I load this file and call a selectpage function to apply a 1D barcode, the subquent relatively cloned copy page get this barcode as well,  so when i apply a new barcode value to the relative cloned page, this is stacked on top of the barcode inherited from the first "copy-original"

Is there a way to fix this? other than adding a white fill drawbox?

Thanks

 
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 19 Nov 14 at 10:32AM
Juam,

You will need to call QP.NewContentStream() I suspect after calling QP.SelectPage() but before drawing the barcode.

ClonePages means that all pages share the same duplicate ContentStream for drawing.  Adding a 2nd unique content stream to each page with just a unique barcode will give you the result you need.

Andrew.
Back to Top
juanf View Drop Down
Beginner
Beginner


Joined: 10 Nov 14
Location: South Africa
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote juanf Quote  Post ReplyReply Direct Link To This Post Posted: 19 Nov 14 at 11:24AM
Thanks Andrew
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store