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 - Checking if a pdf contains text
  FAQ FAQ  Forum Search   Register Register  Login Login

Checking if a pdf contains text

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

Joined: 22 Jan 13
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote raphaelverdier Quote  Post ReplyReply Direct Link To This Post Topic: Checking if a pdf contains text
    Posted: 05 Aug 13 at 11:31AM
In our application we need to check if a pdf contains text (vector).
We use the DAOpenFile and we use the function DAExtractText.

If the file is on a network folder, the function DAOpenFile could take 200ms.

Is there another faster way for checking if a pdf is vector or not ?
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: 05 Aug 13 at 6:41PM
Hi Raphael!

Try...
// ... if (QP.HasFontResources < 1) Then ...

If the result < 1 then there is no text content.
So give it a try and forget your DA-function ;-)

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