保存DXF

如何保存DXF文件

问题: 如何保存DXF文件。

提示: 为此,您可以在文件保存选项中使用DxfOption,包括二进制和普通选项。

示例:

using (var image = Image.Load(inputFile))
{
DxfOptions options = new DxfOptions();
image.Save(outFile, options);
}
using (var image = Image.Load(inputFile))
{
DxfOptions options = new DxfOptions();
options.DxfFileFormat = DxfFileFormat.Binary;
image.Save(outFile2, options);
}
view raw save-dxf.cs hosted with ❤ by GitHub