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!
![]() |
Checking if a pdf contains text |
Post Reply ![]() |
Author | |
raphaelverdier ![]() Beginner ![]() ![]() Joined: 22 Jan 13 Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() 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 ? |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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