IPXC_AcroForm.Export - NotImplementedException

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
apx
User
Posts: 25
Joined: Tue Sep 12, 2017 1:43 pm

IPXC_AcroForm.Export - NotImplementedException

Post by apx »

Hello!

I try to test the AcroForm Export function, but I got the NotImplementedException. Is this function not included in the CORE API or am I not using it correctly?

Thanks in advance

Alex

Code: Select all

        public void ExportForm(string as_pdffile, string as_xmlfile)
        {
            PDFXCoreAPI.IPXC_Document pDoc = null;
            PDFXCoreAPI.IPXC_AcroForm pAcroForm = null;
            PDFXCoreAPI.IPXS_PDFVariant pFieldsList = null; /* want all fields */
            pDoc = g_Inst.OpenDocumentFromFile(as_pdffile, null);
            if (pDoc.HasAcroForm)
            {
                PDFXCoreAPI.IAFS_Name destPath = GetIAFSName(as_xmlfile);
                pAcroForm = pDoc.AcroForm;

                // FormExport_IncludeEmpty + FormExport_IgnoreNoExport
                pAcroForm.Export(destPath, "XML", pFieldsList, true, 9);
            }

            if (pDoc != null)
            {
                pDoc.Close();
            }

            pDoc = null;

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

Re: IPXC_AcroForm.Export - NotImplementedException

Post by Sasha - Tracker Dev Team »

Hello Alex,

This method was not yet implemented thus the exception occur.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
apx
User
Posts: 25
Joined: Tue Sep 12, 2017 1:43 pm

Re: IPXC_AcroForm.Export - NotImplementedException

Post by apx »

Okay. Is there a way to find out which functions exist in the SDK and which are not yet implemented? Because the documentation is quite detailed for not working. : -)
A simple list would help me. As a suggestion for improvement, I would suggest making the information recognizable in the documentation. A simple clue or something like that.

https://sdkhelp.pdf-xchange.com/vie ... orm_Export
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: IPXC_AcroForm.Export - NotImplementedException

Post by Sasha - Tracker Dev Team »

Hello apx,

Well the majority of the methods and properties are implemented and those few that are not will be in time.

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