Print Page | Close Window

PDF Layer Issue, Place Draw Box On Top Layer

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3407
Printed Date: 04 Apr 26 at 3:11PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: PDF Layer Issue, Place Draw Box On Top Layer
Posted By: m_alam
Subject: PDF Layer Issue, Place Draw Box On Top Layer
Date Posted: 22 Nov 16 at 5:19AM
Greetings,
i get helps earlier few times from here

now i am having issues that i can't solve by my own. And would really appreciate if any one kindly help me out...

please check the both pdf file

Source PDF File: aa.pdf
https://dl.dropboxusercontent.com/u/54364418/aa.pdf

Output PDF File: test.pdf
https://dl.dropboxusercontent.com/u/54364418/test.pdf


i am trying to block a text using filled box, but i don't know why that text is above the box ;(

i have tried select contentstream (from 1 to all) but no luck

below is the code that put the box there:

objPDF.DrawBox(100, 3, 105, 12, 2)

thanks in advance

best regards



Replies:
Posted By: Ingo
Date Posted: 22 Nov 16 at 11:31AM
Hi,

this thread should point to a solution for you:
http://www.quickpdf.org/forum/drawbox-drawing-white-boxes_topic1319.html



-------------
Cheers,
Ingo



Posted By: m_alam
Date Posted: 22 Nov 16 at 1:56PM
Originally posted by Ingo Ingo wrote:

Hi,

this thread should point to a solution for you:
http://www.quickpdf.org/forum/drawbox-drawing-white-boxes_topic1319.html



thanks a lot for your reply sir, but that didn't work
1st, there is not option to remove combined layers/stream
2nd, so i tried this call $objPDF.CombineContentStreams(); but that didn't work either ;(

can you please help me out :)?


Posted By: Ingo
Date Posted: 22 Nov 16 at 10:01PM
as far as i've understood you the main issue was
to cover a textpart with a box.
Your problem was that the text could be seen
through the box background.

So i've told you that "SetFillColor" can feed your needs
cause you can set the fill color for the box.
If you want to remove a so called layer (content stream)
you have to calculate the number of existing content streams
and than you can use SelectContentStream and DeleteContentStream.




-------------
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