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 - Scale factor for text extraction
  FAQ FAQ  Forum Search   Register Register  Login Login

Scale factor for text extraction

 Post Reply Post Reply
Author
Message
nshsk View Drop Down
Beginner
Beginner
Avatar

Joined: 28 Sep 17
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote nshsk Quote  Post ReplyReply Direct Link To This Post Topic: Scale factor for text extraction
    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.
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 (1) Thanks(1)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 07 Feb 22 at 8:54PM
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

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