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 - Research of text
  FAQ FAQ  Forum Search   Register Register  Login Login

Research of text

 Post Reply Post Reply
Author
Message
Nelson Castro View Drop Down
Beginner
Beginner
Avatar

Joined: 25 Apr 13
Location: Brasil
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nelson Castro Quote  Post ReplyReply Direct Link To This Post Topic: Research of text
    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?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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:
 
Cheers and welcome here,
Ingo
 
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