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!
Get Text only from specyfic Layer/ContentStream |
Post Reply |
Author | |
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 449 |
Post Options
Thanks(0)
Posted: 05 Oct 17 at 8:31PM |
Normaly I'm using this :
$oQP.GetPageText($iExtractOptions) to get Page Text. But in some solutions I have PDF's with few ContentStream's / Layers I know how to enumerate them, I use this functions:
My question is how I can get text only from specyfic Layer/ContentStream ? Regards, mLipok Edited by mLipok - 05 Oct 17 at 8:32PM |
|
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 |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi :)
perhaps this is the link you're looking for: http://www.quickpdf.org/forum/how-to-preview-selected-content-stream_topic2305.html BTW: You can't delete text from a selected contentstream/layer ... but you're able to select and delete a contentstream with the textcontent on it. If you have a pdf with four layers i would make four copies. In the copies i'll delete the first layer... in the second copy the second layer and so on. Then i would start textextraction from the four copies. Then i would compare the four textcontent. Cheers and a nice weekend to you :) Ingo |
|
Cheers,
Ingo |
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 449 |
Post Options
Thanks(0)
|
Your advice sounds reasonable. I will follow that path. Thanks and have a nice weekend, ...... unfortunately, in our country, so far it is raining. Cheers, mLipok
|
|
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 |
|
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