Print Page | Close Window

Research of text

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=2617
Printed Date: 08 Sep 24 at 5:37AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Research of text
Posted By: Nelson Castro
Subject: Research of text
Date Posted: 25 Apr 13 at 3:47PM
Hi! I need to locate a specific text in an archive pdf to know where page it is and to only print this page. How I make this in Delphi?



Replies:
Posted By: Ingo
Date Posted: 25 Apr 13 at 3:56PM
Hi Nelson!
 
You should use the extract functions from QuickPDF.
They work page by page and so you have the textcontent (in string format) per page.
Now you can search inside the content after each page with "if pos(searchstring, pagestring) > 0"
if pos is greater than 0 you have found the page(number).
Here you'll find the complete (online-)reference:
http://www.debenu.com/docs/pdf_library_reference/FunctionGroups.php - http://www.debenu.com/docs/pdf_library_reference/FunctionGroups.php
 
Cheers and welcome here,
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