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!
![]() |
Research of text |
Post Reply ![]() |
Author | |
Nelson Castro ![]() Beginner ![]() ![]() Joined: 25 Apr 13 Location: Brasil Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() 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?
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3524 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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