我一直在一个实用程序来各种文件转换为PDF格式,方便打印/发送电子邮件。我试图添加支持CGM文件,但一直没能找到任何库,以帮助我这样做。
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.
这是什么,我都不可能在C#中做的本身?还是有什么基于.NET的图书馆,可以帮助我转换CGM文件?
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?
使用 IKVM ,你可以在Java拉的 JCGM 库。
Using IKVM you could pull in the Java JCGM library.
它支持渲染到Java Graphics对象和其他图书馆没有依赖关系。我不知道,如果IKVM将支持所有需要的摇摆电话,但它的一些肯定了支持:的 AWT /摆动那么一点点不支持
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