CIT_Path

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
jeffp
User
Posts: 914
Joined: Wed Sep 30, 2009 6:53 pm

CIT_Path

Post by jeffp »

I've got a PDF file of a web page that was printed out in Chrome. Chrome does something weird in that the resulting PDF does not contain text but appears to contain an image representation of the page.

However, upon further examination the page contains about 500 IPXC_ContentItems and the are all of type CIT_Path.

My question is what exactly is a CIT_Path type. Since I cannot select any text I'd think it was an image based PDF, but none of the IPXC_ContentItems are of type CIT_Image or CIT_InlineImage.

Can you provide me with some more info on what CIT_Path is an how to handle it in an OCR case. Thanks.

--Jeff
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: CIT_Path

Post by Sasha - Tracker Dev Team »

Hello Jeff,

1) About Chrome and no text data:
https://forum.pdf-xchange.com/ ... 62&t=26913
2) About CIT_Path, please read the PDF Specification:
8.5 Path Construction and Painting
3) About the OCR - as Paths define vector graphic, you will have to OCR the full page (try doing that in the End-User Editor first).

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply