License question for PDFXCoreAPI

A picture is worth a thousand words. We have created some pdfs tutorials showing common tasks.

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

Post Reply
sbensen
User
Posts: 7
Joined: Wed Jun 12, 2019 1:27 pm

License question for PDFXCoreAPI

Post by sbensen » Fri Jan 31, 2020 9:25 pm

We have a license for PDFXEditCoreAPI.x86, in the documentation of Edit Core API it is mentioned that core API is supported in EditCore.

When used in an application in the generated output PDF we are still seeing the watermark logo to buy it. Can you clarify about this, can we use PDFXCoreAPI with same license key as PDFXEditCoreAPI?

Thank you.

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 3792
Joined: Wed Jan 03, 2018 6:52 pm

Re: License question for PDFXCoreAPI

Post by TrackerSupp-Daniel » Fri Jan 31, 2020 9:39 pm

Hello Sbensen,

Thank you for the forum post, I believe we have resolved this matter via an Email you sent just a few minutes ahead of this post, please let us know if you need further assistance.

Kind regards,
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Support: <Support@tracker-software.com>
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

sbensen
User
Posts: 7
Joined: Wed Jun 12, 2019 1:27 pm

Re: License question for PDFXCoreAPI

Post by sbensen » Fri Jan 31, 2020 10:08 pm

Hi Daniel,

As per our call the license for PDFXEditCore should work for PDFXCore too. If that is the case, why when I apply license in the below code still apply the watermark for buying it.

This is a .net C# code, almost same as in the PDFXCoreAPI SDK documentation included by tracker software API documentation.

public string FlattenFileAnnotations(string inputPath, string outputPath)
{
string strError = string.Empty;
try
{
string strLicKey = ""; // here I was entering the license key I had for the PDFXEditCore API.

m_pxcInst = new PXC_Inst();
m_pxcInst.Init(strLicKey);

CloseDocument();

if (m_ipxcDoc == null)
{
m_ipxcDoc = m_pxcInst.OpenDocumentFromFile(inputPath, null);
bool retValue = m_ipxcDoc.HasDigitalSigns();
}
//Getting current page
IPXC_Pages pages = m_ipxcDoc.Pages;
int pageCount = (int)pages.Count;
Marshal.ReleaseComObject(pages);

FillAnnotationsList();
for (int i = 0; i < pageCount; i++)
FlattenAllFieldsInPage(i);

m_ipxcDoc.WriteToFile(outputPath);
}

catch (Exception ex)
{
strError = ex.ToString();
}

return strError;
}

sbensen
User
Posts: 7
Joined: Wed Jun 12, 2019 1:27 pm

Re: License question for PDFXCoreAPI

Post by sbensen » Fri Jan 31, 2020 10:23 pm

Hi Daniel,

Just want to add this, in my sample app I added the reference to the PDFXCoreAPI.x86.dll only, I don't want to add a reference to PDFXEditCore.x86.dll.

Thank you.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14094
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: License question for PDFXCoreAPI

Post by Tracker Supp-Stefan » Mon Feb 03, 2020 10:59 am

Hello sbensen,

One of our colleagues from the dev team just tested the "FlattenAnnotations" feature from the CoreAPI demo:
https://github.com/tracker-software/PDF ... oreAPIDemo
Using an EditorSDK license key - and everything worked correct and as expected for him.

So can you please try to do the same and let us know if this works for you!?
If it doesn't then the issue is most likely license related, and we will need to investigate that over e-mails, as these forums are public and posting license key data here should not be done!

Regards,
Stefan

sbensen
User
Posts: 7
Joined: Wed Jun 12, 2019 1:27 pm

Re: License question for PDFXCoreAPI

Post by sbensen » Mon Feb 03, 2020 8:29 pm

Hi

I sent the license key in my email to Dan McIntyre. This is not working for me even when I used the same license key in the DEMO app you provided for the CoreAPI.

Please let me know how to resolve this.

Thank you.

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 3792
Joined: Wed Jan 03, 2018 6:52 pm

Re: License question for PDFXCoreAPI

Post by TrackerSupp-Daniel » Mon Feb 03, 2020 8:45 pm

Hello sbensen,

Thank you for the email. We have looked this over and believe that the issue is related to the version of the SDK you are running. Please follow the steps in my most recent email to roll back to the appropriate version, and you should be able to use your license key there.

Kind regards,
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Support: <Support@tracker-software.com>
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply