suppress conversion report

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, 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
hjerteblod
User
Posts: 26
Joined: Thu Sep 05, 2019 9:03 am

suppress conversion report

Post by hjerteblod »

good morning,

when I convert a pdf into a pdfa via the viewer, a conversion report opens. I want to convert several files in a row and it bothers me if I have to turn off the report every time.
does anyone have an idea how I can turn off this by means of code? I have turned off the report in the normal pdfxchange program but that had no effect on my viewer.

Code: Select all

 
        PDF_Control.Inst.StartLoadingPlugins()
        PDF_Control.Inst.AddPluginFromFile("C:\Users\AS\source\repos\UmwandlungPDF\bin\Debug\Plugins.x86\PDFAPlugin.pvp")
        PDF_Control.Inst.FinishLoadingPlugins()

        Dim cnv As PDFXEdit.IPXV_ExportConverter = Nothing

        For i As UInteger = 0 To PDF_Control.Inst.ExportConvertersCount - 1

            If PDF_Control.Inst.ExportConverter(i).ID = "conv.exp.pdfa" Then

                cnv = PDF_Control.Inst.ExportConverter(i)

            End If
        Next

        If (cnv Is Nothing) OrElse (PDF_Control.Doc Is Nothing) Then
            Return
        End If

        Dim cab As PDFXEdit.ICab = PDF_Control.Inst.GetFormatConverterParams(False, "conv.exp.pdfa")
        Dim name As PDFXEdit.IString = PDF_Control.Inst.CreateString("C:\Users\AS\source\repos\UmwandlungPDF\bin\Debug\TestFile_PDFa.pdf")
        PDF_Control.Doc.Save(name, 0, Nothing, cnv, cab)
best regards, yvonne
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17810
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: suppress conversion report

Post by Tracker Supp-Stefan »

Hello hjerteblod,

The Viewer AX SDK has been discontinued for quite some time but to me it seems like you are actually using the Editor SDK - as the Viewer didn't have any plug-ins. Can you please confirm so that we can move this topic to the correct section?

Regards,
Stefan
hjerteblod
User
Posts: 26
Joined: Thu Sep 05, 2019 9:03 am

Re: suppress conversion report

Post by hjerteblod »

Hey Stefan,
yeah you are right, I am sorry. I have to work with PdfXchange during my apprenticeship but I get confused with the terms.
I use the editor sdk.
Best regards, Yvonne
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: suppress conversion report

Post by Sasha - Tracker Dev Team »

Hello Yvonne,

Check out this topic:
viewtopic.php?f=66&t=31385&p=127044&hil ... rt#p127044

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
hjerteblod
User
Posts: 26
Joined: Thu Sep 05, 2019 9:03 am

Re: suppress conversion report

Post by hjerteblod »

I was able to solve it myself 5 minutes ago, thanks,
greets yvonne
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: suppress conversion report

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply