Any "Release Notes" document for migration from 5.x to 6.0?

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

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, 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
omascia
User
Posts: 48
Joined: Thu Mar 11, 2010 7:07 pm

Any "Release Notes" document for migration from 5.x to 6.0?

Post by omascia »

Are there some documentations highlighting the fundamental changes to the API between 5.0/5.5 and this 6.0 new version and recommended upgrade paths?
(Especially for C/C++ usage as DLL - not COM).
Are we going to have to update our hundreds of calls from the previous C API to the COM based one?
What will we miss? (new limitations?)
What will we gain? (new functionalities / bug fixes?)
I tried to find some kind of Release Notes paper which would have documented all the changes going from 5/5.5 to 6, but if it exists I somehow missed it.
omascia
User
Posts: 48
Joined: Thu Mar 11, 2010 7:07 pm

Re: Any "Release Notes" document for migration from 5.x to 6

Post by omascia »

What to do with such an automated API description? Taken from the slowish (from oversea at least) https://sdkhelp.pdf-xchange.com/vie ... ment_Close

Syntax
HRESULT Close([in, defaultvalue(0)] ULONG nFlags);
Parameters
nFlags
[in, defaultvalue(0)] Value of ULONG.
Return Value
Returns S_OK if operation was successful or error code in other cases.

So... What is the meaning of the ULONG value (OK, default 0) that should/could be passed the Close method?
omascia
User
Posts: 48
Joined: Thu Mar 11, 2010 7:07 pm

Re: Any "Release Notes" document for migration from 5.x to 6

Post by omascia »

What's the equivalent of doing :

PXC_SaveState(page);
...
PXC_CS_Translate(page, ....);
PXC_CS_Rotate(page, ...);
PXC_PlaceImage(page, ...)
...
PXC_RestoreState(page);

Thanks.
omascia
User
Posts: 48
Joined: Thu Mar 11, 2010 7:07 pm

Re: Any "Release Notes" document for migration from 5.x to 6

Post by omascia »

What replaces : PXC_SetDocumentInfoExW ?
I need to add some custom attributes to documents.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Any "Release Notes" document for migration from 5.x to 6

Post by Sasha - Tracker Dev Team »

Hello omascia,

1) The only setback with the new API that you will have to rewrite all of your C code. Though that is the only setback. What you gain is more flexible, logical and combined environment comparing with the old SDK.

2) The documentation is being written on the go, because it requires certain knowledge that only developers have and, as you know for yourself, they are pretty busy with new features and bug fixing.

3) Better not ask about the equivalents but ask what do you need. For example, judging by the given piece of code, you will need to place the image on the page. Here's one of the samples on how you can do it:
https://gist.github.com/Polaringu/daa06 ... c36cbeb14d

4) That will be the https://sdkhelp.pdf-xchange.com/vie ... cumentInfo

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