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.