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!
![]() |
Blocking or Erasing Text |
Post Reply
|
| Author | |
JohnTMD
Beginner
Joined: 21 Jul 14 Location: United States Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Topic: Blocking or Erasing TextPosted: 07 Jan 15 at 3:05PM |
|
After drawing text is there a reliable way to "erase" or otherwise block or blank the text?
Given: DPL.SetTextColor(0,0,1); //Blue DPL.DrawText(1,1, 'Test'); //text inserted Later: DPL.SetTextColor(1,1,1); //White? DPL.DrawText(1,1, 'Test'); Result is a faint outline of text- not completely obscured. Changing the text transparency setting does not influence text already inserted. Any ideas? TIA, John |
|
![]() |
|
mLipok
Senior Member
Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 Jan 15 at 1:13AM |
|
Did you look here: http://www.quickpdf.org/forum/add-text-content-and-remove-later_topic2991.html
|
|
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
JohnTMD
Beginner
Joined: 21 Jul 14 Location: United States Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 Jan 15 at 2:56PM |
|
Thanks so much.
It looks promising, but, it appears that this method has complications and may not have been tested completely. I'm going to see if I can simply place a white block over the text, effectively erasing it. The question then becomes, what happens after each erasure and subsequently adding text. I'm open for suggestions, but, will report back if I find a simple, workable solution. I'm casting my vote for a new function, DeleteText(Horizontal,Vertical,Width,Height) or DeleteText(Horizontal,Vertical,'Original Text'). John
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store