Print Page | Close Window

Detect objects like lines and boxes

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=1025
Printed Date: 19 Jan 26 at 11:17PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Detect objects like lines and boxes
Posted By: Ingo
Subject: Detect objects like lines and boxes
Date Posted: 06 Mar 09 at 4:24AM
Hi All!

For a customer i need to extract objects like shapes, lines, boxes, graphical logos from a document.

There's no need doing a real extract but detect all object data like type of the object, color, dimensions, ...

At first i don't need a complete solution but are there any ideas from anyone here, how i should start?

Thanks in advance for any hint and advice.

Cheers, Ingo




Replies:
Posted By: DELBEKE
Date Posted: 06 Mar 09 at 6:38AM
Hi ingo
 
I think it would not be possible in the state of QuickPdf, because the page  is drawn by parsing it's content without creating graphicals objects . It's just drawn on a bitmap. So individual elements are'nt save and can't be retreived.


Posted By: Rowan
Date Posted: 06 Mar 09 at 7:09AM
Hi Ingo,

You could try the following:

1. Render the page to an EMF file
2. Load the EMF and enumerate it using Win32 functions

As a side note: We will also investigate the feasibility of implementing a text-based logging system for the renderer, which should give you the information you need.

Cheers,
Rowan


Posted By: Ingo
Date Posted: 06 Mar 09 at 7:18AM
Thanks a lot to you both!

Cheers, Ingo



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