I can't convert pdf to excel in c#

PDF-XChange Editor SDK for Developers

Moderators: Tracker Support, TrackerSupp-Daniel, Sean - Tracker, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, 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
george.yu@tai-win.com.tw
User
Posts: 2
Joined: Fri Jul 05, 2024 4:02 am

I can't convert pdf to excel in c#

Post by george.yu@tai-win.com.tw »

Hello Sir

I have the ' Pdf xChange Editor' license and register already.

I'us visual studio 2022 to load C:\Program Files\Tracker Software\PDF Editor\DFXEditCore.x86.dll as refrence.

But when I run the code below
----------------------------------------------------------
PXV_Inst.Init(null,licenseKey);

PXC_Inst PXC_Inst = (PXC_Inst)PXV_Inst.GetExtension("PXC"); //PDF Core Layer
IAFS_Inst AFS_Inst = PXV_Inst.GetExtension("AFS"); //PDF File System
AFS_FileSys = AFS_Inst.DefaultFileSys;


var x = PXV_Inst.ExportConvertersCount;
for (int i = 0; i <= x - 1; i++)
{
IPXV_ExportConverter oexpCv = PXV_Inst.ExportConverter[(uint)i];
if (oexpCv.ID == "conv.exp.office.xls")
{
.........
}
}

The 'ExportConvertersCount' always return 2, what I got is "conv.exp.pdf" and "conv.exp.txt" only, but what I need to export is "conv.exp.office.xls".
which part I lost or got wrong.

From george
Attachments
image_1.png
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 18407
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: I can't convert pdf to excel in c#

Post by Tracker Supp-Stefan »

Hello george.yu@tai-win.com.tw,

I've hidden your license key from your screenshot. Please do not post any more license information here in these public forums.

And on your original question - you are not allowed to use our SDKs with an end user license, and our SDKs are unfortunately no longer available for purchase.
The conversion from PDF to Excel is done via a plug-in that is not included in the SDK licenses anyway - so even if you had an SDK license - you would still not have such a plug-in.

Kind regards,
Stefan
george.yu@tai-win.com.tw
User
Posts: 2
Joined: Fri Jul 05, 2024 4:02 am

Re: I can't convert pdf to excel in c#

Post by george.yu@tai-win.com.tw »

Hello sir,

I apologize for overlooking the serial number issue,
and what you said about the plugin is that the file in directory C:\Program Files\Tracker Software\PDF Editor 'iePDFXEditPlugin.x64.dll' and 'npPDFXEditPlugin.x64.dll'?
but what I know is IE and Netscape Plugin API deprecated for long time ,is there other plug in what you mean?and how do I buy it?

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

Re: I can't convert pdf to excel in c#

Post by Tracker Supp-Stefan »

Hello george.yu@tai-win.com.tw,

The conversion that our end user Editor offers from and to MS Office file formats are done with plug-ins for the Editor itself, and are not available in the SDK, even when the SDK itself was available for purchase.

Kind regards,
Stefan
Post Reply