Migrating from PDF Tools to Core API

A forum for questions or concerns related to the PDF-XChange Core API SDK

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, 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
gmyers
User
Posts: 32
Joined: Thu Feb 17, 2005 11:29 pm

Migrating from PDF Tools to Core API

Post by gmyers » Mon Jun 25, 2018 3:00 pm

We are evaluating the Core API SDK version 7.0.325.1. We have used the PDF Tools SDK for a number of years and versions. Our existing code uses PXC_GetContentDC extensively. Does the new API provide similar functionality?

gmyers

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

Re: Migrating from PDF Tools to Core API

Post by Sasha - Tracker Dev Team » Tue Jun 26, 2018 5:49 am

Hello gmyers,

We don't have the direct analogy for now, though we will try to add the similar methods after the 326 release (327 hopefully).
Meanwhile, you can try using the IPXC_ContentCreator:
viewtopic.php?f=67&t=30562&p=123133&hil ... or#p123133
It will provide you a much better way for the content manipulation.
Also, check out this project - it's still a new one but we are updating it frequently - we should release a part with the content work samples soon:
https://github.com/tracker-software/PDF ... oreAPIDemo

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

gmyers
User
Posts: 32
Joined: Thu Feb 17, 2005 11:29 pm

Re: Migrating from PDF Tools to Core API

Post by gmyers » Tue May 28, 2019 2:26 pm

In the documentation for the 331 release, I see there are methods IIXC_Page::GetPageDC and IIXC_Page::ReleasePageDC but there is not much in the way of description. Are these the methods that fill the same role as PXC_GetContentDC?

gmyers

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

Re: Migrating from PDF Tools to Core API

Post by Sasha - Tracker Dev Team » Thu May 30, 2019 9:20 am

Hello gmyers,

No, these are the IIXC_Page methods that are not connected to the IPXC level at all.
Look at the CoreAPIDemo project that I've mentioned before - now it has many samples that you can work with.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply