Experimenting with the trial version, created a simple console app to convert a DGN file to a PDF file. Exception is GroupDocs.Conversion.ExceptionsGroupDocsConversionException - Object reference not set to an instance of an object.
I’m using a microstation file v8 exported back to v7
Console app is as follows:
using System;
using System.Drawing;
namespace ConvertToPdf
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(“Hello World!”);
System.Diagnostics.Trace.Write(“running application”);
var converter = new GroupDocs.Conversion.Converter(“C:\tmp\txe20037.dgn”);
var convertOptions = converter.GetPossibleConversions()[“pdf”].ConvertOptions;
converter.Convert(“c:\tmp\converted.pdf”, convertOptions);ERROR HERE
}
}
}