Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Library for CGM File Conversion

I have been working on a utility to convert various files to PDF for easy printing/emailing. I'm trying to add support for CGM files but have not been able to find any libraries to help me do so.

Is this something that I can possibly do natively within C#? Or are there any .NET based libraries that could help me convert CGM files?

like image 217
David Fioretti Avatar asked Oct 26 '22 02:10

David Fioretti


1 Answers

JCGM

Using IKVM you could pull in the Java JCGM library.

It has support for rendering to a Java Graphics object and no dependencies on other libraries. I'm not sure if IKVM will support all the required Swing calls but its definitely got support for some: AWT/Swing a Little Bit Less Unsupported

like image 59
Luke Quinane Avatar answered Nov 03 '22 00:11

Luke Quinane