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.
Unfortunately, activation email could not send to your email. Please try again.

PDFViewer from command line

Thread ID:





110502 Aug 7,2013 11:16 AM Aug 13,2013 04:40 AM Windows Forms 1
Tags: PdfViewer
Andy Dillbeck
Asked On August 7, 2013 11:16 AM

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 04:40 AM

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.

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.