Print Page | Close Window

Filter/Extract Text based on Font Type

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2628
Printed Date: 20 May 26 at 5:11AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Filter/Extract Text based on Font Type
Posted By: chrisreed
Subject: Filter/Extract Text based on Font Type
Date Posted: 30 Apr 13 at 1:31PM
I can use the DASetTextExtractionOptions and DAExtractPageText functions to get all the details of the text in a PDF file (ie. position, colour, font size/type and text as seen below)....
 
187.56,771.68,#000000,14.04,"Times-Bold","Preliminary Transthoracic Echo Report"
25.56,217.88,#000000,11.04,"Times-Bold","MEASUREMENTS"
26.28,653.6,#000000,11.04,"Times-Bold","CONCLUSIONS"
 
but is there a QP Function to filter out and only return the text in a PDF document based on the Font type you want?
 
Chris



Replies:
Posted By: Ingo
Date Posted: 30 Apr 13 at 2:57PM
No. You can do it by your own - you have the data ;-)


Posted By: chrisreed
Date Posted: 01 May 13 at 2:09AM
Ha! Ha! Of course - what an idiot I am - thanks Ingo.
Chris



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk