Print Page | Close Window

Highlight text on an existing PDF

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=459
Printed Date: 26 May 24 at 1:27AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Highlight text on an existing PDF
Posted By: ukobsa
Subject: Highlight text on an existing PDF
Date Posted: 10 Jul 06 at 3:30AM
Hi,

I want to highlight text on an existing document that I have extracted before. How can I do that?

I have tried it the following way:
- extract text via GetPageText using option 4 to get the texts position
- create a new layer and select it
- draw a box on this position using DrawBox
- move this layer behind the previous one to make the text drawn on the box(?)

But then the text is still hidden from the box. What am I doing wrong?

Is there a better way to make it work? (I dont't want to use transparency as I want the full colors)

best regards,
Ulrich



Replies:
Posted By: swb1
Date Posted: 10 Jul 06 at 9:11AM

You are on the right track with NewLayer and MoveLayer. 

While I don't remember the details, I know that I have accomplished this quite easily using those.

 




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