We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDFViewer from command line

Thread ID:





110502 Aug 7,2013 03:16 PM UTC Aug 13,2013 08:40 AM UTC WinForms 1
Tags: PdfViewer
Andy Dillbeck
Asked On August 7, 2013 03:16 PM UTC

I'm attempting to use PDFViewerControl from a command line application to convert images to PDF documents unattended. I don't want to rewrite it to add a window if I don't need to.

The line that errors is:
Dim viewer As Syncfusion.Windows.PdfViewer.PdfViewerControl = New Syncfusion.Windows.PdfViewer.PdfViewerControl

I get an error saying: "The type initializer for 'Syncfusion.Windows.PdfViewer.PdfViewerControl' threw an exception"

Now sure what I need to do.

Suresh M [Syncfusion]
Replied On August 13, 2013 08:40 AM UTC

Hi Andy,


Thank you for your interest in Syncfusion products.


Can you please confirm whether it is about inserting Image into the PDF document or Exporting pages of PDF document as images. This would be more helpful for us to further investigate on this query.


Please let us know if you have any concerns.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon