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!
![]() |
Scale factor for text extraction |
Post Reply ![]() |
Author | |
nshsk ![]() Beginner ![]() ![]() Joined: 28 Sep 17 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 07 Feb 22 at 11:29AM |
I have an .NET application for pdf text extraction which returns an empty text from 'GetPageText(7)' function after changing the default window scaling setting to 125%.
Can we use a function like 'SetTextExtractionScaling' or 'SetTextScaling' to control the scaling setting before text extraction? Can someone help me on this? Thank you. |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Nirmani,
QP.NormalizePage(0) is always good before calling the text extraction functions. Then you can deal with the next two functions (they can only be applied to the selected document you're working with)... QP.SetTextExtractionScaling(0, 2, 8); QP.SetTextExtractionWordGap(0.2); and then the GetPageText(7). Edited by Ingo - 07 Feb 22 at 8:56PM |
|
Cheers,
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