Page 1 of 1

I can't convert pdf to excel in c#

Posted: Fri Jul 05, 2024 5:16 am
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

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

Posted: Fri Jul 05, 2024 9:46 am
by Stefan - PDF-XChange
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

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

Posted: Mon Jul 08, 2024 12:34 am
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

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

Posted: Mon Jul 08, 2024 1:08 pm
by Stefan - PDF-XChange
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