我想将 .svg 矢量图形转换为 .wmf。我查看了这个库http://wmf.codeplex.com/,但没有成功。
我找到了这个库http://svg2swf.sourceforge.net/,但我不知道如何在 c# 项目中使用它。
编辑:inkscape 的这种用法也不适合我(无法打开 wmf 文件)。
public static string Result = @"Polygon-6666.wmf";
public static string Source = @"Polygon-6.svg";
public void CreatePng(string filename)
{
var inkscapeArgs = string.Format(@"-f ""{0}"" -e ""{1}""", Source, Result);
var inkscape = Process.Start(new ProcessStartInfo("inkscape.exe", inkscapeArgs));
}