calling 'ExportDocument' in combination with 'NoUI' flag

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Stifelch
User
Posts: 9
Joined: Tue Oct 01, 2013 8:27 am

calling 'ExportDocument' in combination with 'NoUI' flag

Post by Stifelch »

Hello,

we've purchased your SDK some weeks ago in order to integrate it in our SAP Frontend Systems. So far, it does a very solid job ;)

However, calling the ExportDocument function, in order to convert and export a pdf File to tiff doesn't work in combination with the "NoUI" flag.

The dialog with the export settings shouldn't appear.

Pseudocode would be:

Code: Select all

DoVerb(NULL, "ExportDocument", "C:\test.pdf", DataOut, "PXCVA_NoUI");
Any suggestions?

Thanks so far,

Chris
Last edited by Stifelch on Tue Nov 12, 2013 6:49 am, edited 1 time in total.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: calling 'ExportDocument' in combination with 'NoUI' flag

Post by Stefan - PDF-XChange »

Hi Chris,

I believe this is one of the few end user features that are not possible/designed for use through the Viewer AX, however if your license is for the AX and the simple DLL SDK - you should be able to use the Viewer Simple DLL SDK:
https://www.pdf-xchange.com/product ... le-dll-sdk
To render any portion of a PDF document to a DC and then handle that DC and create the raster images you need yourself (and in the background without any user interaction).

Regards,
Stefan
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: calling 'ExportDocument' in combination with 'NoUI' flag

Post by Vasyl - PDF-XChange »

I tried to reproduce it on our 'FullTest' example (Export Tab) but couldn't - all works as expected. Try to use other way to start export:

Code: Select all

pdfViewer.ExportDocument(docID, PXCVA_NoUI);
If problem will remain please give us the simple example for reproducing..
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Stifelch
User
Posts: 9
Joined: Tue Oct 01, 2013 8:27 am

Re: calling 'ExportDocument' in combination with 'NoUI' flag

Post by Stifelch »

Problem solved, thanks guys :)
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: calling 'ExportDocument' in combination with 'NoUI' flag

Post by Stefan - PDF-XChange »

:)