suppress conversion report

PDF-XChange Editor SDK for Developers

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

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: 9
Joined: Thu Sep 05, 2019 9:03 am

suppress conversion report

Post by hjerteblod » Tue Sep 10, 2019 7:13 am

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: 13532
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: suppress conversion report

Post by Tracker Supp-Stefan » Thu Sep 12, 2019 11:55 am

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: 9
Joined: Thu Sep 05, 2019 9:03 am

Re: suppress conversion report

Post by hjerteblod » Thu Sep 12, 2019 1:04 pm

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

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

Re: suppress conversion report

Post by Sasha - Tracker Dev Team » Fri Sep 13, 2019 7:02 am

Hello Yvonne,

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

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

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

Re: suppress conversion report

Post by hjerteblod » Fri Sep 13, 2019 8:24 am

I was able to solve it myself 5 minutes ago, thanks,
greets yvonne

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

Re: suppress conversion report

Post by Sasha - Tracker Dev Team » Fri Sep 13, 2019 9:31 am

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply