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 - Numbers of Char Vs Blank Pages
  FAQ FAQ  Forum Search   Register Register  Login Login

Numbers of Char Vs Blank Pages

 Post Reply Post Reply
Author
Message
Cuspide View Drop Down
Team Player
Team Player


Joined: 25 May 10
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote Cuspide Quote  Post ReplyReply Direct Link To This Post Topic: Numbers of Char Vs Blank Pages
    Posted: 29 Mar 12 at 12:24PM
Hi all,
Is there a function that returns the number of characters?

In this way, I could see if there are characters.
If there are I delete the blank page.

Thanks.
Daniele

Back to Top
edvoigt View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 Mar 11
Location: Berlin, Germany
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote edvoigt Quote  Post ReplyReply Direct Link To This Post Posted: 29 Mar 12 at 7:36PM
Hi,

a look in the reference-guide shows you textextraction-functions. They give an empty string back, if there is no text on page. Beware: a page with vector-drawings or images is not empty, but may be without text.

Werner
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 04 Apr 12 at 3:55AM
Cupside,

As Ed suggests you can call GetPageText(8) and check the length of the resulting string.  If it is >0 then there is text on the page.

Andrew.
Back to Top
Cuspide View Drop Down
Team Player
Team Player


Joined: 25 May 10
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote Cuspide Quote  Post ReplyReply Direct Link To This Post Posted: 05 Apr 12 at 2:26PM
Very well.
Many Thanks.
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